def __init__(self, host=None, port=None, auth_token=None):
        """
        Creates a client to connect to PPS.

        host: The pachd host. Default is 'localhost', which is used with `pachctl port-forward`
        port: The port to connect to. Default is 30650
        auth_token: The authentication token; used if authentication is enabled on the cluster. Default to `None`.
        """

        address = get_address(host, port)
        self.metadata = get_metadata(auth_token)
        self.channel = grpc.grpc.insecure_channel(address)
        self.stub = grpc.APIStub(self.channel)
def __init__ ( self , host = None , port = None , auth_token = None ) : address = get_address ( host , port ) self . metadata = get_metadata ( auth_token ) self . channel = grpc . grpc . insecure_channel ( address ) self . stub = grpc . APIStub ( self . channel )
Creates a client to connect to PPS.

        host: The pachd host. Default is 'localhost', which is used with `pachctl port-forward`
        port: The port to connect to. Default is 30650
        auth_token: The authentication token; used if authentication is enabled on the cluster. Default to `None`.