File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed
graphdatascience/query_runner Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -142,9 +142,7 @@ def __init__(
142142 self ._retry_config = retry_config
143143 self ._logger = logging .getLogger ("gds_arrow_client" )
144144
145- self ._arrow_client_options : dict [str , Any ] = arrow_client_options # type: ignore
146- if self ._arrow_client_options is None :
147- self ._arrow_client_options = {}
145+ self ._arrow_client_options = arrow_client_options if arrow_client_options is not None else {}
148146
149147 if disable_server_verification :
150148 self ._arrow_client_options ["disable_server_verification" ] = True
@@ -185,7 +183,7 @@ def _instantiate_flight_client(self) -> flight.FlightClient:
185183 AuthFactory (self ._auth_middleware ),
186184 UserAgentFactory (useragent = user_agent ),
187185 ]
188- ) # type: ignore
186+ )
189187
190188 return flight .FlightClient (location , ** client_options )
191189
You can’t perform that action at this time.
0 commit comments