Skip to content

Commit

Permalink
Black 23 updates
Browse files Browse the repository at this point in the history
  • Loading branch information
andy-slac committed Feb 10, 2023
1 parent b34efbf commit 96dc30a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion python/felis/sql.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@


class Schema(NamedTuple):

name: Optional[str]
tables: list[Table]
metadata: MetaData
Expand Down
1 change: 0 additions & 1 deletion python/felis/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@ def visit_schema(self, schema_obj: _MutableMapping) -> _Mapping:
return _new_order(schema_obj, ["@context", "name", "@id", "@type", "description", "tables"])

def visit_table(self, table_obj: _MutableMapping, schema_obj: _Mapping) -> _Mapping:

columns = [self.visit_column(c, table_obj) for c in table_obj["columns"]]
primary_key = self.visit_primary_key(table_obj.get("primaryKey", []), table_obj)
constraints = [self.visit_constraint(c, table_obj) for c in table_obj.get("constraints", [])]
Expand Down

0 comments on commit 96dc30a

Please sign in to comment.