diff --git a/tc_neo4j_lib/neo4j_ops.py b/tc_neo4j_lib/neo4j_ops.py index 0e889a0..a64f69d 100644 --- a/tc_neo4j_lib/neo4j_ops.py +++ b/tc_neo4j_lib/neo4j_ops.py @@ -41,6 +41,8 @@ def _neo4j_database_connect(self) -> None: self.db_name = creds["db_name"] self.neo4j_driver = GraphDatabase.driver(url, auth=auth, database=self.db_name) + self.neo4j_driver.verify_connectivity() + self.gds = GraphDataScience(url, auth) def _run_query(self, tx: Transaction, query: str, **kwargs) -> None: