Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
top_events = ModelType(TopEventsSearchParams)
impact_rank = StringType(choices=('rank', 'aviation_rank'))
class ImpactDay(Model):
date = DateType()
count = IntType()
impact = IntType()
rank_levels = DictType(IntType, export_level=NONEMPTY)
rank_levels_impact = DictType(IntType, export_level=NONEMPTY)
aviation_rank_levels = DictType(IntType, export_level=NONEMPTY)
aviation_rank_levels_impact = DictType(IntType, export_level=NONEMPTY)
categories = DictType(IntType)
categories_impact = DictType(IntType)
class ImpactResultSet(ResultSet):
results = ResultType(ImpactDay)
class ImpactParams(SearchParams):
top_events = ModelType(TopEventsSearchParams)
impact_rank = StringType(choices=('rank', 'aviation_rank'))
class ImpactDay(Model):
date = DateType()
count = IntType()
impact = IntType()
rank_levels = DictType(IntType, export_level=NONEMPTY)
rank_levels_impact = DictType(IntType, export_level=NONEMPTY)
aviation_rank_levels = DictType(IntType, export_level=NONEMPTY)
aviation_rank_levels_impact = DictType(IntType, export_level=NONEMPTY)
categories = DictType(IntType)
categories_impact = DictType(IntType)
class ImpactResultSet(ResultSet):
results = ResultType(ImpactDay)
class ImpactDay(Model):
date = DateType()
count = IntType()
impact = IntType()
rank_levels = DictType(IntType, export_level=NONEMPTY)
rank_levels_impact = DictType(IntType, export_level=NONEMPTY)
aviation_rank_levels = DictType(IntType, export_level=NONEMPTY)
aviation_rank_levels_impact = DictType(IntType, export_level=NONEMPTY)
categories = DictType(IntType)
categories_impact = DictType(IntType)
class ImpactResultSet(ResultSet):
results = ResultType(ImpactDay)
limit = IntType(min_value=0, max_value=10)
class CalendarParams(SearchParams):
top_events = ModelType(TopEventsSearchParams)
class CalendarDay(Model):
date = DateType()
count = IntType()
top_rank = FloatType()
rank_levels = DictType(IntType)
categories = DictType(IntType)
labels = DictType(IntType)
top_events = ModelType(EventResultSet)
class CalendarResultSet(ResultSet):
results = ResultType(CalendarDay)
class ImpactParams(SearchParams):
top_events = ModelType(TopEventsSearchParams)
impact_rank = StringType(choices=('rank', 'aviation_rank'))
class ImpactDay(Model):
class ImpactParams(SearchParams):
top_events = ModelType(TopEventsSearchParams)
impact_rank = StringType(choices=('rank', 'aviation_rank'))
class ImpactDay(Model):
date = DateType()
count = IntType()
impact = IntType()
rank_levels = DictType(IntType, export_level=NONEMPTY)
rank_levels_impact = DictType(IntType, export_level=NONEMPTY)
aviation_rank_levels = DictType(IntType, export_level=NONEMPTY)
aviation_rank_levels_impact = DictType(IntType, export_level=NONEMPTY)
categories = DictType(IntType)
categories_impact = DictType(IntType)
class ImpactResultSet(ResultSet):
results = ResultType(ImpactDay)
limit = IntType(min_value=0, max_value=10)
class CalendarParams(SearchParams):
top_events = ModelType(TopEventsSearchParams)
class CalendarDay(Model):
date = DateType()
count = IntType()
top_rank = FloatType()
rank_levels = DictType(IntType)
categories = DictType(IntType)
labels = DictType(IntType)
top_events = ModelType(EventResultSet)
class CalendarResultSet(ResultSet):
results = ResultType(CalendarDay)
class ImpactParams(SearchParams):
top_events = ModelType(TopEventsSearchParams)
impact_rank = StringType(choices=('rank', 'aviation_rank'))
class ImpactDay(Model):
deleted_reason = StringType()
duplicate_of_id = StringType()
class EventResultSet(ResultSet):
overflow = BooleanType()
results = ResultType(Event)
class CountResultSet(Model):
count = IntType()
top_rank = FloatType()
rank_levels = DictType(IntType)
categories = DictType(IntType)
labels = DictType(IntType)
class TopEventsSearchParams(SortableMixin, Model):
limit = IntType(min_value=0, max_value=10)
class CalendarParams(SearchParams):
top_events = ModelType(TopEventsSearchParams)
class CalendarDay(Model):
results = ResultType(CalendarDay)
class ImpactParams(SearchParams):
top_events = ModelType(TopEventsSearchParams)
impact_rank = StringType(choices=('rank', 'aviation_rank'))
class ImpactDay(Model):
date = DateType()
count = IntType()
impact = IntType()
rank_levels = DictType(IntType, export_level=NONEMPTY)
rank_levels_impact = DictType(IntType, export_level=NONEMPTY)
aviation_rank_levels = DictType(IntType, export_level=NONEMPTY)
aviation_rank_levels_impact = DictType(IntType, export_level=NONEMPTY)
categories = DictType(IntType)
categories_impact = DictType(IntType)
class ImpactResultSet(ResultSet):
results = ResultType(ImpactDay)