Thanks for your reply. It may not be a session attribute. Can I set channel attributes? Can I make something available for all subsequent calls going thru the same channel without repeating it in the request message?
When the client is initiating the connection, can I insert any key-value pairs for the server to retrieve during incoming calls? Can the server retrieve those key-value pairs from the context argument of the ListFeatures method? That key-value pair should exist outside the request message Rectangle? Thx.
def ListFeatures(self, request, context):
def run():
channel = implementations.insecure_channel('localhost', 50051)
stub = route_guide_pb2.beta_create_RouteGuide_stub(channel)