Skip to content

Commit

Permalink
[sc-29650] NoneType is not convertible to int
Browse files Browse the repository at this point in the history
  • Loading branch information
usefulalgorithm committed Nov 1, 2024
1 parent 2379c1f commit cb7b9de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion metaphor/glue/extractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def _get_tables(self, database: str):
)
table_type = table.get("TableType")
parameters = table.get("Parameters")
row_count = int(parameters.get("numRows")) if parameters else 0
row_count = parameters.get("numRows") if parameters else 0
description = table.get("Description")

dataset = self._init_dataset(
Expand Down

0 comments on commit cb7b9de

Please sign in to comment.