Skip to content

Commit

Permalink
fix more lint issue
Browse files Browse the repository at this point in the history
  • Loading branch information
DataBoyTX committed Jan 17, 2025
1 parent 46daae6 commit fecc260
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion graphistry/Plottable.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ class Plottable(object):
_complex_encodings : dict
_bolt_driver : Any
_tigergraph : Any

_spannergraph: SpannerGraph = None

_dataset_id: Optional[str]
_url: Optional[str]
_nodes_file_id: Optional[str]
Expand Down
4 changes: 2 additions & 2 deletions graphistry/PlotterBase.py
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ def __init__(self, *args: Any, **kwargs: Any) -> None:
# Integrations
self._bolt_driver : Any = None
self._tigergraph : Any = None
self._spannergraph : Any = None
self._spannergraph: SpannerGraph = None

# feature engineering
self._node_embedding = None
Expand Down Expand Up @@ -2546,7 +2546,7 @@ def spanner_gql_to_g(self: Plottable, query: str) -> Plottable:
else:
logger.warning('PyGraphistry._config["spanner"] is None')

res = res.spanner_init(PyGraphistry._config["spanner"])
res = res.spanner_init(PyGraphistry._config["spanner"]) # type: ignore[attr-defined]

return res._spannergraph.gql_to_graph(query)

Expand Down

0 comments on commit fecc260

Please sign in to comment.