(message, response_code=400)
return {"message": message, "code": response_code}
Returns the given message, and sets the response code to given response
    code.  Defaults response code to 400, if not provided.
Returns the given message, and sets the response code to given response
    code.  Defaults response code to 400, if not provided.
Returns the given message and sets the response code to given response code . Defaults response code to 400 if not provided .
def invalid_resource(message, response_code=400):
    """
    Returns the given message, and sets the response code to given response
    code.  Defaults response code to 400, if not provided.
    """
    return {"message": message, "code": response_code}
def invalid_resource ( message , response_code = 400 ) : return { "message" : message , "code" : response_code }