@@ -28,7 +28,7 @@ def __init__(
2828 auth : Optional [Tuple [str , str ]] = None ,
2929 aura_ds : bool = False ,
3030 database : Optional [str ] = None ,
31- arrow : bool = True ,
31+ arrow : Union [ str , bool ] = True ,
3232 arrow_disable_server_verification : bool = True ,
3333 arrow_tls_root_certs : Optional [bytes ] = None ,
3434 bookmarks : Optional [Any ] = None ,
@@ -47,9 +47,10 @@ def __init__(
4747 to a Neo4j Aura instance.
4848 database: Optional[str], default None
4949 The Neo4j database to query against.
50- arrow : bool, default True
51- A flag that indicates that the client should use Apache Arrow
52- for data streaming if it is available on the server.
50+ arrow : Union[str, bool], default True
51+ Arrow connection information. Either a flag that indicates whether the client should use Apache Arrow
52+ for data streaming if it is available on the server. True means discover the connection URI from the server.
53+ A connection URI (str) can also be provided.
5354 arrow_disable_server_verification : bool, default True
5455 A flag that indicates that, if the flight client is connecting with
5556 TLS, that it skips server verification. If this is enabled, all
@@ -77,6 +78,7 @@ def __init__(
7778 self ._query_runner .encrypted (),
7879 arrow_disable_server_verification ,
7980 arrow_tls_root_certs ,
81+ None if arrow is True else arrow ,
8082 )
8183
8284 super ().__init__ (self ._query_runner , "gds" , self ._server_version )
0 commit comments