diff --git a/pyzeebe/channel/insecure_channel.py b/pyzeebe/channel/insecure_channel.py index 2bad3e25..d428fd62 100644 --- a/pyzeebe/channel/insecure_channel.py +++ b/pyzeebe/channel/insecure_channel.py @@ -14,9 +14,9 @@ def create_insecure_channel( Create an insecure channel Args: - hostname (Optional[str]): Zeebe gateway hostname - port (Optional[int]): Zeebe gateway port - channel_options (Optional[ChannelArgumentType]): GRPC channel options. + hostname (Optional[str], optional): Zeebe gateway hostname + port (Optional[int], optional): Zeebe gateway port + channel_options (Optional[Dict], optional): GRPC channel options. See https://grpc.github.io/grpc/python/glossary.html#term-channel_arguments Returns: diff --git a/pyzeebe/channel/secure_channel.py b/pyzeebe/channel/secure_channel.py index dec2be4a..17342cce 100644 --- a/pyzeebe/channel/secure_channel.py +++ b/pyzeebe/channel/secure_channel.py @@ -17,9 +17,9 @@ def create_secure_channel( Create a secure channel Args: - hostname (Optional[str]): Zeebe gateway hostname - port (Optional[int]): Zeebe gateway port - channel_options (Optional[ChannelArgumentType]): GRPC channel options. + hostname (Optional[str], optional): Zeebe gateway hostname + port (Optional[int], optional): Zeebe gateway port + channel_options (Optional[Dict], optional): GRPC channel options. See https://grpc.github.io/grpc/python/glossary.html#term-channel_arguments channel_credentials (Optional[grpc.ChannelCredentials]): Channel credentials to use. Will use grpc.ssl_channel_credentials() if not provided.