refact!: define a "scopeable model" base class + modelviewset scoping #536
94.85% of diff hit (target 92.04%)
View this Pull Request on Codecov
94.85% 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 41 in chord_metadata_service/authz/viewset.py
codecov / codecov/patch
chord_metadata_service/authz/viewset.py#L41
Added line #L41 was not covered by tests
Check warning on line 55 in chord_metadata_service/authz/viewset.py
codecov / codecov/patch
chord_metadata_service/authz/viewset.py#L55
Added line #L55 was not covered by tests
Check warning on line 47 in chord_metadata_service/chord/export/views.py
codecov / codecov/patch
chord_metadata_service/chord/export/views.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 90 in chord_metadata_service/experiments/models.py
codecov / codecov/patch
chord_metadata_service/experiments/models.py#L90
Added line #L90 was not covered by tests
Check warning on line 50 in chord_metadata_service/phenopackets/models.py
codecov / codecov/patch
chord_metadata_service/phenopackets/models.py#L50
Added line #L50 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