10000 Set the default value of attempt_direct_path to False · googleapis/python-api-core@0f3a0e4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0f3a0e4

Browse files
committed
Set the default value of attempt_direct_path to False
1 parent e6ea7ec commit 0f3a0e4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

google/api_core/grpc_helpers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def create_channel(
301301
default_scopes=None,
302302
default_host=None,
303303
compression=None,
304-
attempt_direct_path: Optional[bool] = None,
304+
attempt_direct_path: Optional[bool] = False,
305305
**kwargs,
306306
):
307307
"""Create a secure channel with credentials.

google/api_core/grpc_helpers_async.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ def create_channel(
223223
default_scopes=None,
224224
default_host=None,
225225
compression=None,
226-
attempt_direct_path: Optional[bool] = None,
226+
attempt_direct_path: Optional[bool] = False,
227227
**kwargs
228228
):
229229
"""Create an AsyncIO secure channel with credentials.

0 commit comments

Comments
 (0)
0