(api_name, method_name, method)
return schema
Create a full parameter JSON schema for the given RPC
Create a full parameter JSON schema for the given RPC
Create a full parameter JSON schema for the given RPC
def make_rpc_parameter_schema(api_name, method_name, method):
    """Create a full parameter JSON schema for the given RPC"""
    parameters = inspect.signature(method).parameters.values()
    schema = make_parameter_schema(parameters)
    schema["title"] = "RPC {}.{}() parameters".format(api_name, method_name)
    return schema
def make_rpc_parameter_schema ( api_name , method_name , method ) : parameters = inspect . signature ( method ) . parameters . values ( ) schema = make_parameter_schema ( parameters ) schema [ "title" ] = "RPC {}.{}() parameters" . format ( api_name , method_name ) return schema