Skip to content

Commit 5eddbe6

Browse files
committed
Fix checkstyle typing issue
1 parent 1c8c99b commit 5eddbe6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

graphdatascience/model/model_proc_runner.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,10 @@ def get(self, model_name: str) -> Model:
5555
if self._server_version < ServerVersion(2, 5, 0):
5656
endpoint = "gds.beta.model.list"
5757
yields = ["modelInfo"]
58-
result: Series[Any] = self._query_runner.call_procedure(
58+
result_25: Series[Any] = self._query_runner.call_procedure(
5959
endpoint=endpoint, params=params, yields=yields, custom_error=False
6060
).squeeze()
61-
model_type = str(result["modelInfo"]["modelType"]) if not result.empty else None
61+
model_type = str(result_25["modelInfo"]["modelType"]) if not result_25.empty else None
6262
else:
6363
endpoint = "gds.model.list"
6464
yields = ["modelType"]

0 commit comments

Comments
 (0)