Skip to content

Commit

Permalink
Slim down docstring for internal function
Browse files Browse the repository at this point in the history
  • Loading branch information
kbakk committed Jul 3, 2021
1 parent e661d4a commit 3c40f25
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions pyzeebe/grpc_internals/grpc_channel_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,7 @@ def create_channel(
options: Dict[str, Any] = None
) -> grpc.aio.Channel:
"""
Create a gRPC channel.
Args:
connection_uri (str): The URI to Zeebe.
credentials (BaseCredentials): Credentials for accessing the channel. Default: None
secure_connection (bool): Create a secure channel (set to True when using credentials). Default: False
options (Dict[str, Any]): A key/value representation of `gRPC channel arguments_`. Default: None (will use library defaults)
Returns:
grpc.aio.Channel: A channel object set up to connect to Zeebe
options: A key/value representation of `gRPC channel arguments_`. Default: None (will use library defaults)
.. _gRPC channel arguments:
https://grpc.github.io/grpc/python/glossary.html#term-channel_arguments
Expand Down

0 comments on commit 3c40f25

Please sign in to comment.