in proxy_worker/start_worker.py [0:0]
def parse_args():
parser = argparse.ArgumentParser(
description='Python Azure Functions Worker')
parser.add_argument('--host',
help="host address")
parser.add_argument('--port', type=int,
help='port number')
parser.add_argument('--workerId', dest='worker_id',
help='id for the worker')
parser.add_argument('--requestId', dest='request_id',
help='id of the request')
parser.add_argument('--grpcMaxMessageLength', type=int,
dest='grpc_max_msg_len')
parser.add_argument('--functions-uri', dest='functions_uri', type=str,
help='URI with IP Address and Port used to'
' connect to the Host via gRPC.')
parser.add_argument('--functions-worker-id',
dest='functions_worker_id', type=str,
help='Worker ID assigned to this language worker.')
parser.add_argument('--functions-request-id', dest='functions_request_id',
type=str, help='Request ID used for gRPC communication '
'with the Host.')
parser.add_argument('--functions-grpc-max-message-length', type=int,
dest='functions_grpc_max_msg_len',
help='Max grpc_local message length for Functions')
return parser.parse_args()