Changeset View
Changeset View
Standalone View
Standalone View
swh/graphql/tests/data.py
Show All 16 Lines | |||||
def populate_search_data(search): | def populate_search_data(search): | ||||
search.origin_update({"url": origin.url} for origin in get_origins()) | search.origin_update({"url": origin.url} for origin in get_origins()) | ||||
def get_origins(): | def get_origins(): | ||||
return swh_model_data.ORIGINS | return swh_model_data.ORIGINS | ||||
def get_visits(): | |||||
return swh_model_data.ORIGIN_VISITS | |||||
def get_visit_status(): | |||||
return swh_model_data.ORIGIN_VISIT_STATUSES | |||||
def get_snapshots(): | def get_snapshots(): | ||||
return swh_model_data.SNAPSHOTS | return swh_model_data.SNAPSHOTS | ||||
def get_releases(): | def get_releases(): | ||||
return swh_model_data.RELEASES | return swh_model_data.RELEASES | ||||
▲ Show 20 Lines • Show All 98 Lines • Show Last 20 Lines |