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.
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix asset class initialization #2611
fix asset class initialization #2611
Changes from all commits
5102310
83f1abd
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check notice on line 83 in care/facility/api/viewsets/asset.py
Unused local symbols
Check notice on line 83 in care/facility/api/viewsets/asset.py
Unused local symbols
Check notice on line 83 in care/facility/api/viewsets/asset.py
Unused local symbols
Check notice on line 92 in care/facility/api/viewsets/asset.py
Method is not declared static
Check notice on line 92 in care/facility/api/viewsets/asset.py
Unused local symbols
Check notice on line 138 in care/facility/api/viewsets/asset.py
Duplicated code fragment
Check notice on line 189 in care/facility/api/viewsets/asset.py
Method is not declared static
Check notice on line 203 in care/facility/api/viewsets/asset.py
Method is not declared static
Check notice on line 229 in care/facility/api/viewsets/asset.py
Unused local symbols
Check notice on line 229 in care/facility/api/viewsets/asset.py
Unused local symbols
Check notice on line 249 in care/facility/api/viewsets/asset.py
Unused local symbols
Check notice on line 249 in care/facility/api/viewsets/asset.py
Unused local symbols
Check notice on line 352 in care/facility/api/viewsets/asset.py
Unused local symbols
Check notice on line 352 in care/facility/api/viewsets/asset.py
Unused local symbols
Check notice on line 366 in care/facility/api/viewsets/asset.py
Unused local symbols
Check notice on line 366 in care/facility/api/viewsets/asset.py
Unused local symbols
Check notice on line 388 in care/facility/api/viewsets/asset.py
Unused local symbols
Check notice on line 450 in care/facility/api/viewsets/asset.py
Unused local symbols
Check notice on line 18 in care/facility/tests/test_asset_api.py
PEP 8 naming convention violation
Check notice on line 19 in care/facility/tests/test_asset_api.py
Duplicated code fragment
Check notice on line 37 in care/facility/tests/test_asset_api.py
An instance attribute is defined outside `__init__`
Check notice on line 349 in care/facility/tests/test_asset_api.py
PEP 8 naming convention violation
Check notice on line 350 in care/facility/tests/test_asset_api.py
Duplicated code fragment
Check notice on line 365 in care/facility/tests/test_asset_api.py
Duplicated code fragment
Check notice on line 382 in care/facility/tests/test_asset_api.py
Duplicated code fragment
Check notice on line 403 in care/facility/tests/test_asset_api.py
Duplicated code fragment
Check notice on line 403 in care/facility/tests/test_asset_api.py
Duplicated code fragment