BBQing commented on code in PR #52990:
URL: https://github.com/apache/airflow/pull/52990#discussion_r2192489403
##########
providers/neo4j/src/airflow/providers/neo4j/hooks/neo4j.py:
##########
@@ -113,19 +115,20 @@ def get_uri(self, conn: Connection) -> str:
return f"{scheme}{encryption_scheme}://{conn.host}:{7687 if conn.port
is None else conn.port}"
- def run(self, query) -> list[Any]:
+ def run(self, query, parameters) -> list[Any]:
Review Comment:
add type hints to match the neo4j session
https://neo4j.com/docs/api/python-driver/current/api.html#neo4j.Session.run
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]