rewrite: Fix ORM typing issues.
This commit is contained in:
@@ -131,7 +131,7 @@ class RowModel:
|
||||
# TODO: Proper typing for a classvariable which gets dynamically assigned in subclass
|
||||
table: RowTable
|
||||
|
||||
def __init_subclass__(cls: Type[RowT], table: str = None):
|
||||
def __init_subclass__(cls: Type[RowT], table: Optional[str] = None):
|
||||
"""
|
||||
Set table, _columns_, and _key_.
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user