def jsonrpc_result(id, result):
    return {
        'jsonrpc': '2.0',
        'result': result,
        'id': id,
    }
Ensure the username and password is valid.
dataset/ETHPy150Open wcong/ants/ants/utils/jsonrpc.py/jsonrpc_result--crossover with--dataset/ETHPy150Open codalab/codalab-cli/codalab/server/oauth2_provider.py/OAuth2RequestValidator.validate_user