Open ken-10 opened 10 months ago
get_all function in api_helper.py will still execute when resource parameter is provided as a datatype that is not APIResource enum.
If a data type that is not an APIResource enum is passed as resource parameter, function will throw TypeError.
If a data type that is not an APIResource enum is passed as resource parameter, function will execute and not throw a TypeError immediatley.
Bug:
get_all function in api_helper.py will still execute when resource parameter is provided as a datatype that is not APIResource enum.
Steps to Reproduce:
Expected Result:
If a data type that is not an APIResource enum is passed as resource parameter, function will throw TypeError.
Actual Result:
If a data type that is not an APIResource enum is passed as resource parameter, function will execute and not throw a TypeError immediatley.