Skip to content

Commit 44d5845

Browse files
committed
update docstring of target arg
1 parent e7e3cf7 commit 44d5845

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

google/api_core/grpc_helpers.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -401,8 +401,9 @@ def _modify_target_for_direct_path(target: str) -> str:
401401
402402
Returns:
403403
target (str): The target service address which is converted into a format compatible with Direct Path.
404-
If the target contains `dns:///` or does not have contain `:///`, the target will be converted in
405-
a format compatible with Direct Path, otherwise the original target will be returned.
404+
If the target contains `dns:///` or does not contain `:///`, the target will be converted in
405+
a format compatible with Direct Path; otherwise the original target will be returned as the
406+
original target may already denote Direct Path.
406407
"""
407408

408409
dns_prefix = "dns:///"

0 commit comments

Comments
 (0)