Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add ChannelType values for gRPC channels #2746

Closed
hokiegeek2 opened this issue Sep 4, 2023 · 0 comments · Fixed by #2747
Closed

add ChannelType values for gRPC channels #2746

hokiegeek2 opened this issue Sep 4, 2023 · 0 comments · Fixed by #2747
Assignees
Labels
enhancement New feature or request

Comments

@hokiegeek2
Copy link
Contributor

Feature Description
Add ChannelType Enum values for gRPC Channel implementations as follows:

class ChannelType(Enum):
    """
    The ChannelType Enum specifies which Channel implementation is
    to be used for an Arkouda client deployment.
    """
    ZMQ = 'ZMQ'
    GRPC = 'GRPC'
    ASYNC_GRPC = 'ASYNC_GRPC'
    STREAMING_GRPC = 'STREAMING_GRPC'

    def __str__(self) -> str:
        """
        Overridden method returns value.
        """
        return self.value

    def __repr__(self) -> str:
        """
        Overridden method returns value.
        """
        return self.value
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
1 participant