Skip to content

Commit

Permalink
revert: create_insecure_channel and create_secure_channel
Browse files Browse the repository at this point in the history
  • Loading branch information
felicijus committed Oct 1, 2024
1 parent ab0c8b6 commit 11f139d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions pyzeebe/channel/insecure_channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
6 changes: 3 additions & 3 deletions pyzeebe/channel/secure_channel.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 11f139d

Please sign in to comment.