Skip to content

Commit

Permalink
Need classmethod before abstractmethod for decorators.
Browse files Browse the repository at this point in the history
  • Loading branch information
LswaN58 committed Jan 8, 2025
1 parent fbb9168 commit 788ba3f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ class TableStructureSchema(Schema):
and a mapping of those columns to the corresponding elements of a formal OGD structure.
"""

@abc.abstractmethod
@classmethod
@abc.abstractmethod
def _fromDict(cls, name:str, table_type:TableType, raw_map:Dict[str, ColumnMapElement], column_schemas:List[ColumnSchema], logger:Optional[logging.Logger]=None) -> "TableStructureSchema":
pass

Expand Down

0 comments on commit 788ba3f

Please sign in to comment.