Just added some type hints and a bit of documentation for Response and especially Result. If it is safe to assume that sendCypherQuery always returns Response, then I'd add a type hint for that too in the big method block in Client.
This makes the coding in a type-hinting IDE much more pleasurable:
Thanks for your PR. Indeed send Cypher query will always return a response. This response contains a Result only if setAutoFormatResponse(true) is set on init.
Just added some type hints and a bit of documentation for
Response
and especiallyResult
. If it is safe to assume thatsendCypherQuery
always returnsResponse
, then I'd add a type hint for that too in the big method block inClient
.This makes the coding in a type-hinting IDE much more pleasurable: