You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if param not in valid_params:
error_msg = """
'{0}' is not a valid query param for route of type: {1}.
Valid types are [{2}].
""".format(param, route_type, ', '.join(valid_params))
raise exceptions.ValidationError(error_msg)
Is there a way to store the list of valid query types via a call to your API? If I'm trying to extract the bracket for Ultimate-Singles, it is helpful to know which of many different slug variants is actually used in the a given tournament, without iteratively trying each one.
The text was updated successfully, but these errors were encountered:
In the util.py file you have the following code:
Is there a way to store the list of valid query types via a call to your API? If I'm trying to extract the bracket for Ultimate-Singles, it is helpful to know which of many different slug variants is actually used in the a given tournament, without iteratively trying each one.
The text was updated successfully, but these errors were encountered: