in jetstream/platform.py [0:0]
def validate_enrollments_query_type(self, attribute, value):
self._check_value_not_null(attribute, value)
if value not in iter(EnrollmentsQueryType):
raise PlatformConfigurationException(
f"Invalid value provided for {attribute.name}, value provided: {value}. \
Valid options are: {iter(EnrollmentsQueryType)}"
)
return value