Skip to content

Commit af3a21b

Browse files
committed
update docstring of target arg in _modify_target_for_direct_path
1 parent 1a7578d commit af3a21b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

google/api_core/grpc_helpers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -394,8 +394,8 @@ def _modify_target_for_direct_path(target: str) -> str:
394394
Given a target, return a modified version which is compatible with Direct Path.
395395
396396
Args:
397-
target (str): The target service address in the format 'hostname:port', 'dns://hostname' or other
398-
compatible format.
397+
target (str): The target service address in the format 'hostname[:port]' or
398+
'dns://hostname[:port]'.
399399
400400
Returns:
401401
target (str): The target service address which is converted into a format compatible with Direct Path.

0 commit comments

Comments
 (0)