Okrs24 115 add new fields to the signals app #98
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
๐ ๏ธ models.py -> Added choices for demographic disaggregation
๐ ๏ธ models.py -> Added models for geographic and demographic scope.
๐ ๏ธ models.py -> Added fields for reporting cadence, demographic scope, demographic disaggregation, data censoring, missingness, organisations access list, and organisations sharing list.
๐ ๏ธ tasks.py -> Added error handling for HTTP response in get_covidcast_meta function
๐ ๏ธ admin.py -> Added models for DemographicScope and DemographicScopeAdmin in admin.py
๐ ๏ธ src/fixtures/demographic_scopes.json -> Added created and modified fields for each scope
๐ข src/signals/migrations/0007_demographicscope_geographicscope_and_more.py
๐ ๏ธ models.py -> Added return type annotations to example_url and has_all_demographic_scopes methods.
๐ ๏ธ resources.py -> Modified SignalResource with additional fields like format_type, reporting_cadence, demographic_scope, severenity_pyramid_rungs, data_censoring, missingness, gender_breakdown, race_breakdown, and age_breakdown.
๐ ๏ธ resources.py -> Updated SignalResource with processing demographic scope in the pre-process method.