Skip to content

Commit

Permalink
[sc-29650] NoneType is not convertible to int (#1028)
Browse files Browse the repository at this point in the history
* [sc-29650] NoneType is not convertible to int

* bump version
  • Loading branch information
usefulalgorithm authored Nov 1, 2024
1 parent b8b0c02 commit 6e6bb7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "metaphor-connectors"
version = "0.14.142"
version = "0.14.143"
license = "Apache-2.0"
description = "A collection of Python-based 'connectors' that extract metadata from various sources to ingest into the Metaphor app."
authors = ["Metaphor <[email protected]>"]
Expand Down

0 comments on commit 6e6bb7f

Please sign in to comment.