refact!: define a "scopeable model" base class + modelviewset scoping #536
95.76% of diff hit (target 92.04%)
View this Pull Request on Codecov
95.76% of diff hit (target 92.04%)
Annotations
Check warning on line 47 in chord_metadata_service/authz/permissions.py
codecov / codecov/patch
chord_metadata_service/authz/permissions.py#L47
Added line #L47 was not covered by tests
Check warning on line 103 in chord_metadata_service/chord/export/views.py
codecov / codecov/patch
chord_metadata_service/chord/export/views.py#L103
Added line #L103 was not covered by tests
Check warning on line 69 in chord_metadata_service/chord/ingest/views.py
codecov / codecov/patch
chord_metadata_service/chord/ingest/views.py#L67-L69
Added lines #L67 - L69 were not covered by tests
Check warning on line 102 in chord_metadata_service/chord/ingest/views.py
codecov / codecov/patch
chord_metadata_service/chord/ingest/views.py#L101-L102
Added lines #L101 - L102 were not covered by tests
Check warning on line 104 in chord_metadata_service/experiments/api_views.py
codecov / codecov/patch
chord_metadata_service/experiments/api_views.py#L104
Added line #L104 was not covered by tests
Check warning on line 112 in chord_metadata_service/experiments/api_views.py
codecov / codecov/patch
chord_metadata_service/experiments/api_views.py#L112
Added line #L112 was not covered by tests
Check warning on line 107 in chord_metadata_service/phenopackets/api_views.py
codecov / codecov/patch
chord_metadata_service/phenopackets/api_views.py#L107
Added line #L107 was not covered by tests
Check warning on line 126 in chord_metadata_service/restapi/api_renderers.py
codecov / codecov/patch
chord_metadata_service/restapi/api_renderers.py#L126
Added line #L126 was not covered by tests
Check warning on line 165 in chord_metadata_service/restapi/api_renderers.py
codecov / codecov/patch
chord_metadata_service/restapi/api_renderers.py#L165
Added line #L165 was not covered by tests
Check warning on line 173 in chord_metadata_service/restapi/api_renderers.py
codecov / codecov/patch
chord_metadata_service/restapi/api_renderers.py#L173
Added line #L173 was not covered by tests