Skip to content

Push on develop

Push on develop #1912

Triggered via dynamic November 21, 2024 14:10
Status Success
Total duration 1m 28s
Artifacts

codeql

on: dynamic
Matrix: analyze
Fit to window
Zoom out
Zoom in

Annotations

1 error, 78 warnings, and 921 notices
Improper first parameter: care/facility/api/serializers/asset.py#L413
Method must have a first parameter, usually called 'self'
Incorrect call arguments: care/facility/models/bed.py#L63
Unexpected argument
Incorrect call arguments: care/security/authorization/base.py#L28
Parameter 'context_id' unfilled
Incorrect call arguments: care/security/authorization/base.py#L28
Parameter 'context' unfilled
Incorrect call arguments: care/security/authorization/base.py#L25
Parameter 'context_id' unfilled
Incorrect call arguments: care/security/authorization/base.py#L25
Parameter 'context' unfilled
Attempt to call a non-callable object: care/facility/api/serializers/facility.py#L159
'MiddlewareDomainAddressValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_username_validator.py#L44
'UsernameValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_username_validator.py#L29
'UsernameValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_username_validator.py#L34
'UsernameValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_phone_number_validator.py#L117
'PhoneNumberValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_phone_number_validator.py#L132
'PhoneNumberValidator' object is not callable
Attempt to call a non-callable object: care/facility/api/serializers/asset.py#L55
'MiddlewareDomainAddressValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_phone_number_validator.py#L88
'PhoneNumberValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_phone_number_validator.py#L105
'PhoneNumberValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_phone_number_validator.py#L122
'PhoneNumberValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_phone_number_validator.py#L127
'PhoneNumberValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_phone_number_validator.py#L111
'PhoneNumberValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_phone_number_validator.py#L93
'PhoneNumberValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_username_validator.py#L39
'UsernameValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_phone_number_validator.py#L99
'PhoneNumberValidator' object is not callable
Attempt to call a non-callable object: care/utils/tests/test_username_validator.py#L49
'UsernameValidator' object is not callable
Redeclared names without usages: care/facility/api/viewsets/patient_investigation.py#L81
Redeclared 'PatientInvestigationFilter' defined above without usage
Redeclared names without usages: care/facility/models/facility.py#L201
Redeclared 'REVERSE_FEATURE_CHOICES' defined above without usage
Incorrect type: care/facility/models/patient.py#L621
Expected type 'collections.Iterable', got 'Type\[OccupationEnum\]' instead
Incorrect type: care/facility/models/patient.py#L681
Expected type 'collections.Iterable', got 'Type\[ModeOfContactEnum\]' instead
Incorrect type: care/facility/tests/test_patient_api.py#L188
Expected type 'collections.Iterable', got 'Type\[ExpectedFacilityKeys\]' instead
Incorrect type: care/facility/models/patient.py#L94
Expected type 'collections.Iterable', got 'Type\[ActionEnum\]' instead
Incorrect type: care/facility/tests/test_facility_shifting_api.py#L196
Expected type 'collections.Iterable', got 'Type\[ExpectedShiftCommentListKeys\]' instead
Incorrect type: care/users/tests/test_api.py#L72
Type 'User' doesn't have expected attributes 'first_name', 'last_name', 'email', 'get_user_type_display', 'is_superuser'
Incorrect type: care/facility/tests/test_facility_shifting_api.py#L213
Expected type 'collections.Iterable', got 'Type\[ExpectedShiftCommentRetrieveKeys\]' instead
Incorrect type: care/facility/models/prescription.py#L107
Expected type 'collections.Iterable', got 'Type\[Routes\]' instead
Incorrect type: care/facility/models/patient.py#L81
Expected type 'collections.Iterable', got 'Type\[VaccineEnum\]' instead
Incorrect type: care/facility/models/notification.py#L45
Expected type 'collections.Iterable', got 'Type\[Event\]' instead
Incorrect type: care/facility/tasks/plausible_stats.py#L104
Expected type 'collections.Iterable', got 'Type\[Goals\]' instead
Incorrect type: care/facility/models/icd11_diagnosis.py#L68
Expected type 'collections.Iterable', got 'Type\[ConditionVerificationStatus\]' instead
Incorrect type: care/facility/models/patient_base.py#L143
Expected type 'collections.Iterable', got 'Type\[BedType\]' instead
Incorrect type: care/facility/models/prescription.py#L129
Expected type 'collections.Iterable', got 'Type\[FrequencyEnum\]' instead
Incorrect type: care/facility/tests/test_patient_api.py#L204
Expected type 'collections.Iterable', got 'Type\[ExpectedLocalBodyObjectKeys\]' instead
Incorrect type: care/users/api/viewsets/users.py#L335
Type 'User' doesn't have expected attribute 'is_superuser'
Incorrect type: care/facility/models/file_upload.py#L163
Expected type 'collections.Iterable', got 'Type\[FileCategory\]' instead
Incorrect type: care/facility/tests/test_patient_api.py#L236
Expected type 'collections.Iterable', got 'Type\[ExpectedCreatedByObjectKeys\]' instead
Incorrect type: care/facility/tests/test_facility_shifting_api.py#L157
Expected type 'collections.Iterable', got 'Type\[ExpectedShiftRetrieveKeys\]' instead
Incorrect type: care/utils/registries/feature_flag.py#L44
Expected type 'None', got '(wrapped_class: Any) -\> Any' instead
Incorrect type: care/facility/models/asset.py#L73
Expected type 'collections.Iterable', got 'Type\[Status\]' instead
Incorrect type: care/facility/models/notification.py#L22
Expected type 'collections.Iterable', got 'Type\[Medium\]' instead
Incorrect type: care/facility/models/patient_base.py#L95
Expected type 'collections.Iterable', got 'Type\[NewDischargeReasonEnum\]' instead
Incorrect type: care/facility/models/file_upload.py#L162
Expected type 'collections.Iterable', got 'Type\[FileType\]' instead
Incorrect type: care/facility/models/notification.py#L15
Expected type 'collections.Iterable', got 'Type\[EventType\]' instead
Incorrect type: care/facility/tests/test_patient_api.py#L220
Expected type 'collections.Iterable', got 'Type\[ExpectedStateObjectKeys\]' instead
Incorrect type: care/facility/models/mixins/permissions/facility.py#L112
Expected type 'Facility', got 'None' instead
Incorrect type: care/facility/tests/test_patient_api.py#L228
Expected type 'collections.Iterable', got 'Type\[ExpectedFacilityTypeKeys\]' instead
Incorrect type: care/facility/tests/test_facility_shifting_api.py#L218
Expected type 'collections.Iterable', got 'Type\[ExpectedShiftCommentRetrieveCreatedByKeys\]' instead
Incorrect type: care/facility/models/asset.py#L63
Expected type 'collections.Iterable', got 'Type\[AssetType\]' instead
Incorrect type: care/facility/models/patient.py#L680
Expected type 'collections.Iterable', got 'Type\[RelationEnum\]' instead
Incorrect type: care/facility/tests/test_patient_api.py#L196
Expected type 'collections.Iterable', got 'Type\[ExpectedWardObjectKeys\]' instead
Incorrect type: care/utils/tests/test_utils.py#L313
Type 'District' doesn't have expected attribute 'id'
Incorrect type: care/facility/models/icd11_diagnosis.py#L63
Expected type 'collections.Iterable', got 'Type\[ConditionVerificationStatus\]' instead
Incorrect type: care/users/api/viewsets/users.py#L396
Type 'User' doesn't have expected attribute 'id'
Incorrect type: care/facility/models/patient.py#L70
Expected type 'collections.Iterable', got 'Type\[SourceEnum\]' instead
Incorrect type: care/users/api/viewsets/users.py#L385
Type 'User' doesn't have expected attribute 'id'
Incorrect type: care/facility/models/patient.py#L105
Expected type 'collections.Iterable', got 'Type\[TestTypeEnum\]' instead
Incorrect type: care/facility/models/patient_base.py#L107
Expected type 'collections.Iterable', got 'Type\[DiseaseStatusEnum\]' instead
Incorrect type: care/utils/notification_handler.py#L38
Expected type 'NotificationGenerator', got 'None' instead
Incorrect type: care/facility/models/asset.py#L42
Expected type 'collections.Iterable', got 'Type\[RoomType\]' instead
Incorrect type: care/facility/tests/test_patient_api.py#L177
Expected type 'collections.Iterable', got 'Type\[ExpectedPatientNoteKeys\]' instead
Incorrect type: care/facility/tests/test_facility_shifting_api.py#L149
Expected type 'collections.Iterable', got 'Type\[ExpectedShiftListKeys\]' instead
Incorrect type: care/facility/tests/test_facility_shifting_api.py#L201
Expected type 'collections.Iterable', got 'Type\[ExpectedShiftCommentListCreatedByKeys\]' instead
Incorrect type: care/facility/models/asset.py#L65
Expected type 'collections.Iterable', got 'Type\[AssetClasses\]' instead
Incorrect type: care/facility/tests/test_patient_api.py#L212
Expected type 'collections.Iterable', got 'Type\[ExpectedDistrictObjectKeys\]' instead
Invalid type hints definitions and usages: care/utils/file_uploads/cover_image.py#L27
'Literal' may be parameterized with literal ints, byte and unicode strings, bools, Enum values, None, other literal types, or type aliases to other literal types
Invalid type hints definitions and usages: care/utils/file_uploads/cover_image.py#L14
'Literal' may be parameterized with literal ints, byte and unicode strings, bools, Enum values, None, other literal types, or type aliases to other literal types
Unbound local variables: care/facility/models/patient_sample.py#L200
Local variable 'test_facility' might be referenced before assignment
Unbound local variables: care/facility/management/commands/load_redis_index.py#L49
Local variable 'module_path' might be referenced before assignment
Unbound local variables: care/facility/api/viewsets/icd.py#L11
Local variable 'list' might be referenced before assignment
Unbound local variables: care/facility/tasks/redis_index.py#L47
Local variable 'module_path' might be referenced before assignment
Unbound local variables: care/facility/api/viewsets/prescription.py#L187
Local variable 'list' might be referenced before assignment
Unbound local variables: care/facility/tasks/plausible_stats.py#L155
Local variable 'goal_name' might be referenced before assignment
An instance attribute is defined outside `__init__`: care/facility/api/viewsets/facility.py#L98
Instance attribute action defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_middleware_auth.py#L30
Instance attribute public_key defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_prescriptions_api.py#L40
Instance attribute normal_prescription_data_2 defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_unlink_district_admins.py#L20
Instance attribute local_body2 defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_consultation_bed_api.py#L47
Instance attribute consultation defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_unlink_district_admins.py#L16
Instance attribute district2 defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_prescriptions_api.py#L33
Instance attribute normal_prescription_data defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_prescriptions_api.py#L32
Instance attribute medicine_2 defined outside __init__
An instance attribute is defined outside `__init__`: config/auth_views.py#L57
Instance attribute user defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_middleware_auth.py#L29
Instance attribute private_key defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_asset_api.py#L37
Instance attribute asset defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_medicine_administrations_api.py#L45
Instance attribute discharged_administration defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_unlink_district_admins.py#L22
Instance attribute facility1 defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_facility_flags.py#L19
Instance attribute facility defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_unlink_district_admins.py#L19
Instance attribute local_body1 defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_medicine_administrations_api.py#L42
Instance attribute discharged_prescription defined outside __init__
An instance attribute is defined outside `__init__`: care/users/tests/test_user_flags.py#L17
Instance attribute user defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_assetbed_api.py#L82
Instance attribute assetbed defined outside __init__
An instance attribute is defined outside `__init__`: care/users/api/viewsets/change_password.py#L32
Instance attribute object defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_medicine_administrations_api.py#L41
Instance attribute normal_prescription defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_unlink_district_admins.py#L13
Instance attribute district1 defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_prescriptions_api.py#L32
Instance attribute medicine defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_prescriptions_api.py#L47
Instance attribute discharged_consultation_prescription defined outside __init__
An instance attribute is defined outside `__init__`: care/facility/tests/test_unlink_district_admins.py#L25
Instance attribute facility2 defined outside __init__
Class has no `__init__` method: care/facility/admin.py#L184
Class has no __init__ method
Class has no `__init__` method: care/utils/tests/test_utils.py#L107
Class has no __init__ method
Class has no `__init__` method: plugs/plug.py#L5
Class has no __init__ method
Class has no `__init__` method: care/security/roles/role.py#L7
Class has no __init__ method
Class has no `__init__` method: config/patient_otp_authentication.py#L8
Class has no __init__ method
Class has no `__init__` method: care/security/authorization/base.py#L31
Class has no __init__ method
Class has no `__init__` method: care/security/permissions/base.py#L15
Class has no __init__ method
Class has no `__init__` method: care/security/permissions/base.py#L33
Class has no __init__ method
Class has no `__init__` method: care/users/admin.py#L22
Class has no __init__ method
Class has no `__init__` method: care/utils/serializers/fields.py#L8
Class has no __init__ method
Class has no `__init__` method: care/utils/cache/mixin.py#L21
Class has no __init__ method
Class has no `__init__` method: care/security/permissions/base.py#L26
Class has no __init__ method
Class has no `__init__` method: care/utils/cache/mixin.py#L15
Class has no __init__ method
Class has no `__init__` method: care/utils/cache/mixin.py#L5
Class has no __init__ method
Class has no `__init__` method: care/utils/tests/test_utils.py#L80
Class has no __init__ method
Class has no `__init__` method: care/security/authorization/base.py#L8
Class has no __init__ method
Class has no `__init__` method: care/utils/cache/mixin.py#L9
Class has no __init__ method
Class has no `__init__` method: care/security/roles/role.py#L34
Class has no __init__ method
Dictionary creation can be rewritten by dictionary literal: care/facility/migrations_old/0355_auto_20230429_2027.py#L28
This dictionary creation could be rewritten as a dictionary literal
Incorrect docstring: care/audit_log/helpers.py#L51
Missing parameter is_application in docstring
Incorrect docstring: care/utils/tests/test_utils.py#L743
Unexpected parameter data in docstring
Method is not declared static: config/authentication.py#L78
Method `get_public_key` may be 'static'
Method is not declared static: care/users/api/serializers/user.py#L301
Method `get_user_flags` may be 'static'
Method is not declared static: care/facility/api/serializers/asset.py#L400
Method `get_linked_model` may be 'static'
Method is not declared static: care/facility/models/resources.py#L134
Method `has_object_read_permission` may be 'static'
Method is not declared static: care/facility/api/serializers/shifting.py#L242
Method `validate_shifting_approving_facility` may be 'static'
Method is not declared static: care/facility/api/serializers/patient_consultation.py#L716
Method `get_discharge_prescription` may be 'static'
Method is not declared static: care/facility/utils/icd/scraper.py#L24
Method `add_query` may be 'static'
Method is not declared static: care/facility/api/serializers/shifting.py#L468
Method `get_age` may be 'static'
Method is not declared static: care/facility/api/viewsets/shifting.py#L56
Method `filter_queryset` may be 'static'
Method is not declared static: care/facility/models/shifting.py#L170
Method `has_object_read_permission` may be 'static'
Method is not declared static: care/facility/api/serializers/patient.py#L236
Method `check_external_entry` may be 'static'
Method is not declared static: care/facility/api/viewsets/prescription.py#L52
Method `archived_filter` may be 'static'
Method is not declared static: config/authentication.py#L64
Method `authenticate_header` may be 'static'
Method is not declared static: config/health_views.py#L14
Method `get` may be 'static'
Method is not declared static: care/facility/api/serializers/patient_consultation.py#L726
Method `get_discharge_prn_prescription` may be 'static'
Method is not declared static: care/facility/api/viewsets/patient_consultation.py#L130
Method `_generate_discharge_summary` may be 'static'
Method is not declared static: care/facility/api/serializers/facility.py#L69
Method `get_facility_type` may be 'static'
Method is not declared static: care/utils/tests/test_utils.py#L781
Method `get_district_representation` may be 'static'
Method is not declared static: care/users/models.py#L159
Method `make_random_password` may be 'static'
Method is not declared static: care/facility/api/serializers/asset.py#L413
Method `action_choices` may be 'static'
Method is not declared static: care/utils/ulid/models.py#L20
Method `get_internal_type` may be 'static'
Method is not declared static: care/facility/apps.py#L9
Method `ready` may be 'static'
Method is not declared static: care/facility/api/serializers/patient_consultation.py#L583
Method `validate_encounter_date` may be 'static'
Method is not declared static: care/users/api/serializers/user.py#L354
Method `validate_date_of_birth` may be 'static'
Method is not declared static: care/facility/api/viewsets/file_upload.py#L30
Method `has_permission` may be 'static'
Method is not declared static: care/facility/models/mixins/permissions/asset.py#L5
Method `has_permission` may be 'static'
Method is not declared static: care/facility/api/serializers/facility.py#L162
Method `validate_features` may be 'static'
Method is not declared static: care/facility/api/serializers/facility.py#L108
Method `get_facility_flags` may be 'static'
Method is not declared static: care/utils/notification_handler.py#L239
Method `_get_default_medium` may be 'static'
Method is not declared static: care/facility/api/serializers/facility.py#L64
Method `get_patient_count` may be 'static'
Method is not declared static: care/facility/api/viewsets/facility.py#L49
Method `filter_exclude_user` may be 'static'
Method is not declared static: care/users/api/viewsets/users.py#L220
Method `has_facility_permission` may be 'static'
Method is not declared static: care/facility/api/serializers/patient.py#L194
Method `validate_countries_travelled` may be 'static'
Method is not declared static: care/facility/api/viewsets/asset.py#L203
Method `filter_is_permanent` may be 'static'
Method is not declared static: care/users/management/commands/load_data.py#L51
Method `add_arguments` may be 'static'
Method is not declared static: care/facility/api/serializers/bed.py#L158
Method `get_patient` may be 'static'
Method is not declared static: care/facility/admin.py#L56
Method `lookups` may be 'static'
Method is not declared static: care/utils/tests/test_utils.py#L793
Method `get_state_representation` may be 'static'
Method is not declared static: care/facility/api/viewsets/consultation_diagnosis.py#L69
Method `perform_update` may be 'static'
Method is not declared static: care/facility/api/serializers/events.py#L21
Method `get_children` may be 'static'
Method is not declared static: care/utils/tests/test_utils.py#L798
Method `_convert_to_matchable_types` may be 'static'
Method is not declared static: care/facility/api/viewsets/bed.py#L167
Method `filter_bed_is_occupied` may be 'static'
Method is not declared static: care/facility/api/serializers/asset.py#L397
Method `get_linked_id` may be 'static'
Method is not declared static: care/facility/models/shifting.py#L211
Method `has_object_write_permission` may be 'static'
Method is not declared static: care/users/api/viewsets/users.py#L241
Method `check_facility_user_exists` may be 'static'
Method is not declared static: care/facility/api/serializers/patient_consultation.py#L940
Method `clear_existing_records` may be 'static'
Method is not declared static: care/facility/api/viewsets/patient.py#L129
Method `filter_by_category` may be 'static'
Method is not declared static: care/audit_log/apps.py#L9
Method `ready` may be 'static'
Method is not declared static: care/facility/api/viewsets/patient.py#L243
Method `filter_by_review_missed` may be 'static'
Method is not declared static: care/users/api/serializers/user.py#L244
Method `facility_query` may be 'static'
Method is not declared static: care/facility/api/serializers/inventory.py#L136
Method `set_burn_rate` may be 'static'
Method is not declared static: care/facility/api/serializers/encounter_symptom.py#L34
Method `validate_onset_date` may be 'static'
Method is not declared static: care/facility/models/patient_sample.py#L209
Method `has_object_destroy_permission` may be 'static'
Method is not declared static: care/facility/api/serializers/patient.py#L427
Method `update` may be 'static'
Method is not declared static: care/facility/api/serializers/facility.py#L150
Method `validate_middleware_address` may be 'static'
Method is not declared static: care/facility/api/serializers/patient_consultation.py#L176
Method `get_discharge_prescription` may be 'static'
Method is not declared static: care/facility/models/daily_round.py#L502
Method `cztn` may be 'static'
Method is not declared static: care/facility/admin.py#L72
Method `lookups` may be 'static'
Method is not declared static: config/authentication.py#L266
Method `get_security_definition` may be 'static'
Method is not declared static: care/users/api/serializers/user.py#L131
Method `validate_facilities` may be 'static'
Method is not declared static: care/facility/models/daily_round.py#L655
Method `has_object_asset_write_permission` may be 'static'
Method is not declared static: care/facility/api/viewsets/patient.py#L237
Method `filter_bed_not_null` may be 'static'
Method is not declared static: care/facility/api/serializers/bed.py#L52
Method `validate_number_of_beds` may be 'static'
Method is not declared static: care/users/management/commands/load_state_data.py#L19
Method `add_arguments` may be 'static'
Method is not declared static: care/facility/api/viewsets/bed.py#L46
Method `filter_bed_is_not_occupied_by_asset_type` may be 'static'
Method is not declared static: care/utils/notification_handler.py#L139
Method `deserialize_extra_data` may be 'static'
Method is not declared static: care/facility/api/viewsets/patient.py#L288
Method `filter_by_has_consents` may be 'static'
Method is not declared static: config/authentication.py#L216
Method `get_security_definition` may be 'static'
Method is not declared static: config/authentication.py#L48
Method `authenticate_header` may be 'static'
Method is not declared static: care/facility/api/viewsets/facility.py#L56
Method `filter_queryset` may be 'static'
Method is not declared static: care/facility/models/prescription.py#L212
Method `has_object_write_permission` may be 'static'
Method is not declared static: care/facility/models/ambulance.py#L103
Method `has_object_write_permission` may be 'static'
Method is not declared static: care/facility/api/serializers/patient_consultation.py#L898
Method `validate_patient_code_status` may be 'static'
Method is not declared static: care/utils/notification_handler.py#L339
Method `send_webpush_user` may be 'static'
Method is not declared static: config/authentication.py#L235
Method `get_security_definition` may be 'static'
Method is not declared static: care/users/apps.py#L9
Method `ready` may be 'static'
Method is not declared static: care/users/api/viewsets/users.py#L66
Method `filter_home_facility` may be 'static'
Method is not declared static: care/utils/event_utils.py#L63
Method `default` may be 'static'
Method is not declared static: care/facility/api/viewsets/patient_external_test.py#L67
Method `has_permission` may be 'static'
Method is not declared static: care/utils/ulid/serializers.py#L18
Method `to_representation` may be 'static'
Method is not declared static: care/users/tests/test_api.py#L312
Method `get_payload` may be 'static'
Method is not declared static: care/users/api/viewsets/users.py#L73
Method `get_user_type` may be 'static'
Method is not declared static: care/facility/api/viewsets/asset.py#L189
Method `filter_in_use_by_consultation` may be 'static'
Method is not declared static: care/facility/api/viewsets/icd.py#L14
Method `retrieve` may be 'static'
Method is not declared static: care/facility/api/serializers/bed.py#L49
Method `validate_name` may be 'static'
Method is not declared static: care/users/api/viewsets/users.py#L377
Method `has_profile_image_write_permission` may be 'static'
Method is not declared static: care/users/management/commands/load_lsg_data.py#L18
Method `add_arguments` may be 'static'
Method is not declared static: care/facility/api/serializers/daily_round.py#L120
Method `validate_bp` may be 'static'
Method is not declared static: care/utils/notification_handler.py#L129
Method `serialize_extra_data` may be 'static'
Method is not declared static: care/utils/models/validators.py#L330
Method `_humanize_bytes` may be 'static'
Method is not declared static: care/users/models.py#L382
Method `has_object_write_permission` may be 'static'
Method is not declared static: config/patient_otp_authentication.py#L63
Method `get_user` may be 'static'
Method is not declared static: care/facility/api/serializers/patient_consultation.py#L598
Method `validate_patient_no` may be 'static'
Method is not declared static: care/facility/api/serializers/consultation_diagnosis.py#L15
Method `validate_verification_status` may be 'static'
Method is not declared static: care/facility/api/serializers/patient.py#L207
Method `validate_year_of_birth` may be 'static'
Method is not declared static: config/authentication.py#L204
Method `get_security_definition` may be 'static'
Method is not declared static: care/utils/assetintegration/base.py#L55
Method `_validate_response` may be 'static'
Method is not declared static: care/facility/api/serializers/asset.py#L49
Method `validate_middleware_address` may be 'static'
Method is not declared static: config/auth_views.py#L84
Method `validate` may be 'static'
Method is not declared static: care/facility/api/viewsets/patient.py#L354
Method `filter_queryset` may be 'static'
Method is not declared static: care/users/api/viewsets/userskill.py#L13
Method `has_permission` may be 'static'
Method is not declared static: care/facility/api/viewsets/patient.py#L264
Method `filter_by_diagnoses` may be 'static'
Method is not declared static: care/users/api/serializers/user.py#L124
Method `validate_date_of_birth` may be 'static'
Method is not declared static: care/facility/api/viewsets/daily_round.py#L24
Method `filter_rounds_type` may be 'static'
Method is not declared static: care/facility/api/viewsets/asset.py#L92
Method `filter_bed_is_occupied` may be 'static'
Method is not declared static: care/facility/api/serializers/daily_round.py#L328
Method `validate_taken_at` may be 'static'
Method is not declared static: care/security/authorization/base.py#L24
Method `check_permission` may be 'static'
Method is not declared static: care/facility/models/resources.py#L137
Method `has_object_write_permission` may be 'static'
Method is not declared static: care/facility/api/viewsets/encounter_symptom.py#L18
Method `filter_is_cured` may be 'static'
Method is not declared static: care/utils/serializers/fields.py#L30
Method `to_representation` may be 'static'
Method is not declared static: care/facility/api/viewsets/patient.py#L340
Method `filter_list_queryset` may be 'static'
Method is not declared static: config/authentication.py#L254
Method `get_security_definition` may be 'static'
Method is not declared static: care/utils/tests/test_utils.py#L767
Method `get_local_body_representation` may be 'static'
Method is not declared static: care/facility/tests/test_medibase_api.py#L14
Method `get_url` may be 'static'
Method is not declared static: care/facility/models/prescription.py#L174
Method `has_object_write_permission` may be 'static'
Method is not declared static: care/utils/models/validators.py#L177
Method `clean` may be 'static'
Method is not declared static: care/users/api/viewsets/users.py#L238
Method `has_user_type_permission_elevation` may be 'static'
Method is not declared static: care/facility/api/serializers/consultation_diagnosis.py#L34
Method `get_diagnosis_object` may be 'static'
Method is not declared static: care/facility/models/shifting.py#L208
Method `has_object_read_permission` may be 'static'
Method is not declared static: care/utils/serializers/fields.py#L27
Method `to_internal_value` may be 'static'
Method is not declared static: care/facility/api/serializers/patient.py#L118
Method `validate_patient_in_contact` may be 'static'
Method is not declared static: care/facility/api/serializers/facility.py#L61
Method `get_bed_count` may be 'static'
Method is not declared static: care/facility/models/daily_round.py#L652
Method `has_object_asset_read_permission` may be 'static'
Method is not declared static: config/health_views.py#L21
Method `get` may be 'static'
Method is not declared static: care/facility/api/viewsets/patient_sample.py#L30
Method `filter_queryset` may be 'static'
Method is not declared static: care/facility/api/viewsets/icd.py#L11
Method `serialize_data` may be 'static'
Method is not declared static: config/patient_otp_authentication.py#L37
Method `get_validated_token` may be 'static'
Method is not declared static: care/facility/models/resources.py#L140
Method `has_object_transfer_permission` may be 'static'
Method is not declared static: care/security/authorization/facility.py#L21
Method `allowed_facilities` may be 'static'
Method is not declared static: care/facility/api/serializers/patient_consultation.py#L186
Method `get_discharge_prn_prescription` may be 'static'
Method is not declared static: care/facility/api/serializers/patient.py#L201
Method `validate_date_of_birth` may be 'static'
Method is not declared static: care/users/api/viewsets/users.py#L85
Method `last_active_after` may be 'static'
Method is not declared static: care/facility/api/viewsets/prescription.py#L187
Method `serialize_data` may be 'static'
Method is not declared static: care/users/tests/test_auth.py#L113
Method `create_reset_password_token` may be 'static'
Method is not declared static: care/users/management/commands/load_ward_data.py#L19
Method `add_arguments` may be 'static'
Method is not declared static: care/facility/api/serializers/patient.py#L379
Method `create` may be 'static'
Method is not declared static: care/facility/models/shifting.py#L173
Method `has_object_write_permission` may be 'static'
Improper first parameter: care/facility/migrations/0395_alter_patientconsultation_route_to_facility.py#L56
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0444_patientconsultation_has_consents_and_more.py#L11
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0464_alter_facilitycapacity_room_type_and_more.py#L13
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0438_alter_dailyround_patient_category_and_more.py#L7
Usually first parameter of a method is named 'self'
Improper first parameter: care/users/migrations_old/0046_auto_20230204_1733.py#L49
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0450_corrections_for_io_balance_fields.py#L36
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0415_patientconsultation_previous_consultation.py#L11
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0397_truncate_discharge_time.py#L16
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0367_auto_20230704_1646.py#L8
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations_old/0319_file_upload_completed.py#L12
Usually first parameter of a method is named 'self'
Improper first parameter: care/abdm/migrations_old/0013_abhanumber_patient.py#L9
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0450_corrections_for_io_balance_fields.py#L17
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0466_camera_presets.py#L25
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0392_alter_dailyround_consciousness_level.py#L11
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations_old/0359_auto_20230529_1907.py#L8
Usually first parameter of a method is named 'self'
Improper first parameter: care/users/migrations_old/0046_auto_20230204_1733.py#L53
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations_old/0360_auto_20230608_1750.py#L7
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0363_auto_20230621_1857.py#L7
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0386_auto_20230911_1726.py#L12
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations_old/0319_file_upload_completed.py#L17
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations_old/0358_auto_20230524_1853.py#L7
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0395_alter_patientconsultation_route_to_facility.py#L19
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0376_auto_20230807_2148.py#L12
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0385_patientconsultation_is_readmission.py#L13
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0366_auto_20230627_1806.py#L8
Usually first parameter of a method is named 'self'
Improper first parameter: care/facility/migrations/0466_camera_presets.py#L21
Usually first parameter of a method is named 'self'
Assigning function calls that don't return anything: care/facility/tests/test_facility_shifting_api.py#L178
Function 'create_patient_shift_comment' doesn't return anything
Assigning function calls that don't return anything: care/facility/tests/test_facility_shifting_api.py#L175
Function 'create_patient_shift' doesn't return anything
Assigning function calls that don't return anything: care/facility/tests/test_facility_shifting_api.py#L133
Function 'create_patient_shift' doesn't return anything
PEP 8 naming convention violation: care/utils/tests/test_utils.py#L114
Function name should be lowercase
PEP 8 naming convention violation: care/users/tests/test_auth.py#L17
Function name should be lowercase
PEP 8 naming convention violation: care/facility/migrations/0429_double_pain_scale.py#L12
Variable in function should be lowercase
PEP 8 naming convention violation: care/facility/migrations/0394_auto_20231114_2219.py#L7
Variable in function should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_file_upload.py#L10
Function name should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_bed_create.py#L10
Function name should be lowercase
PEP 8 naming convention violation: care/facility/migrations/0408_patientnotesedit.py#L11
Variable in function should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_assetbed_api.py#L16
Function name should be lowercase
PEP 8 naming convention violation: care/facility/migrations/0466_camera_presets.py#L22
Variable in function should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_patient_api.py#L734
Function name should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_asset_api.py#L18
Function name should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_medibase_api.py#L9
Function name should be lowercase
PEP 8 naming convention violation: care/users/tests/test_api.py#L303
Function name should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_places_api.py#L64
Function name should be lowercase
PEP 8 naming convention violation: care/users/tests/test_models.py#L10
Function name should be lowercase
PEP 8 naming convention violation: care/users/migrations/0016_upgrade_user_skills.py#L7
Variable in function should be lowercase
PEP 8 naming convention violation: care/users/tests/test_auth.py#L106
Function name should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_file_upload.py#L54
Function name should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_patient_api.py#L333
Function name should be lowercase
PEP 8 naming convention violation: care/utils/ulid/ulid.py#L4
Constant variable imported as non-constant
PEP 8 naming convention violation: care/facility/tests/test_patient_api.py#L884
Function name should be lowercase
PEP 8 naming convention violation: care/facility/migrations/0363_auto_20230621_1857.py#L8
Variable in function should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_bed_api.py#L12
Function name should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_patient_api.py#L94
Function name should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_places_api.py#L112
Function name should be lowercase
PEP 8 naming convention violation: care/facility/migrations/0408_patientnotesedit.py#L10
Variable in function should be lowercase
PEP 8 naming convention violation: care/users/tests/test_models.py#L26
Function name should be lowercase
PEP 8 naming convention violation: care/facility/migrations/0466_camera_presets.py#L26
Variable in function should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_facility_api.py#L14
Function name should be lowercase
PEP 8 naming convention violation: care/facility/migrations/0405_auto_20231211_1930.py#L8
Variable in function should be lowercase
PEP 8 naming convention violation: care/facility/api/serializers/resources.py#L93
Variable in function should be lowercase
PEP 8 naming convention violation: care/facility/api/serializers/resources.py#L89
Variable in function should be lowercase
PEP 8 naming convention violation: care/facility/migrations/0415_auto_20240227_0130.py#L9
Variable in function should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_bed_create.py#L90
Function name should be lowercase
PEP 8 naming convention violation: care/users/tests/test_models.py#L79
Function name should be lowercase
PEP 8 naming convention violation: care/users/tests/test_user_flags.py#L11
Function name should be lowercase
PEP 8 naming convention violation: care/facility/migrations/0429_double_pain_scale.py#L34
Variable in function should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_icd11_api.py#L9
Function name should be lowercase
PEP 8 naming convention violation: care/utils/tests/test_feature_flags.py#L12
Function name should be lowercase
PEP 8 naming convention violation: care/users/tests/test_models.py#L40
Function name should be lowercase
PEP 8 naming convention violation: care/facility/migrations/0394_auto_20231114_2219.py#L8
Variable in function should be lowercase
PEP 8 naming convention violation: care/users/migrations/0015_age_to_dateofbirth.py#L17
Variable in function should be lowercase
PEP 8 naming convention violation: care/facility/migrations/0466_camera_presets.py#L27
Variable in function should be lowercase
PEP 8 naming convention violation: care/users/tests/test_api.py#L126
Function name should be lowercase
PEP 8 naming convention violation: care/facility/migrations/0367_auto_20230704_1646.py#L9
Variable in function should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_patient_api.py#L500
Function name should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_asset_api.py#L349
Function name should be lowercase
PEP 8 naming convention violation: care/facility/migrations/0366_auto_20230627_1806.py#L9
Variable in function should be lowercase
PEP 8 naming convention violation: care/facility/api/serializers/resources.py#L101
Variable in function should be lowercase
PEP 8 naming convention violation: care/users/tests/test_models.py#L58
Function name should be lowercase
PEP 8 naming convention violation: care/users/migrations_old/0010_populate_district.py#L8
Variable in function should be lowercase
PEP 8 naming convention violation: care/facility/api/serializers/resources.py#L90
Variable in function should be lowercase
PEP 8 naming convention violation: care/users/migrations/0015_age_to_dateofbirth.py#L6
Variable in function should be lowercase
PEP 8 naming convention violation: care/users/tests/test_api.py#L213
Function name should be lowercase
PEP 8 naming convention violation: care/utils/tests/test_image_validator.py#L13
Function name should be lowercase
PEP 8 naming convention violation: care/users/migrations/0010_rename_skills.py#L7
Variable in function should be lowercase
PEP 8 naming convention violation: care/facility/migrations/0381_merge_ip_op_no.py#L9
Variable in function should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_places_api.py#L10
Function name should be lowercase
PEP 8 naming convention violation: care/facility/tests/test_places_api.py#L140
Function name should be lowercase
PEP 8 naming convention violation: care/users/tests/test_api.py#L16
Function name should be lowercase
PEP 8 naming convention violation: care/users/migrations_old/0010_populate_district.py#L9
Variable in function should be lowercase
Accessing a protected member of a class or a module: care/audit_log/helpers.py#L29
Access to a protected member _meta of a class
Accessing a protected member of a class or a module: care/contrib/sites/migrations/0001_initial.py#L2
Access to a protected member _simple_domain_name_validator of a class
Accessing a protected member of a class or a module: care/facility/models/mixins/permissions/asset.py#L22
Access to a protected member _get_action of a class
Accessing a protected member of a class or a module: care/facility/events/handler.py#L28
Access to a protected member _meta of a class
Accessing a protected member of a class or a module: care/audit_log/receivers.py#L173
Access to a protected member _meta of a class
Accessing a protected member of a class or a module: care/utils/event_utils.py#L17
Access to a protected member _meta of a class
Accessing a protected member of a class or a module: care/audit_log/receivers.py#L99
Access to a protected member _meta of a class
Accessing a protected member of a class or a module: care/contrib/sites/migrations/0002_alter_domain_unique.py#L15
Access to a protected member _simple_domain_name_validator of a class
Accessing a protected member of a class or a module: plugs/plug.py#L1
Access to a protected member _MISSING_TYPE of a class
Accessing a protected member of a class or a module: care/utils/event_utils.py#L42
Access to a protected member _meta of a class
Accessing a protected member of a class or a module: care/audit_log/helpers.py#L35
Access to a protected member _meta of a class
Accessing a protected member of a class or a module: care/audit_log/receivers.py#L51
Access to a protected member _meta of a class
Accessing a protected member of a class or a module: care/utils/event_utils.py#L54
Access to a protected member _meta of a class
Accessing a protected member of a class or a module: care/audit_log/helpers.py#L30
Access to a protected member _meta of a class
Accessing a protected member of a class or a module: care/users/admin.py#L63
Access to a protected member _base_manager of a class
Accessing a protected member of a class or a module: care/audit_log/receivers.py#L155
Access to a protected member _meta of a class
Accessing a protected member of a class or a module: care/facility/models/facility.py#L309
Access to a protected member _base_manager of a class
Accessing a protected member of a class or a module: care/facility/models/asset.py#L65
Access to a protected member _name of a class
Shadowing names from outer scopes: care/facility/api/viewsets/patient_external_test.py#L32
Shadows name 'pretty_errors' from outer scope
Shadowing names from outer scopes: care/utils/tests/test_utils.py#L799
Shadows name 'd' from outer scope
Shadowing names from outer scopes: care/facility/utils/summarization/patient_summary.py#L10
Shadows name 'patient_summary' from outer scope
Unused local symbols: care/users/api/viewsets/users.py#L76
Parameter 'field_name' value is not used
Unused local symbols: care/facility/api/viewsets/facility.py#L161
Parameter 'kwargs' value is not used
Unused local symbols: care/facility/api/viewsets/notification.py#L68
Parameter 'kwargs' value is not used
Unused local symbols: care/users/api/viewsets/lsg.py#L77
Parameter 'kwargs' value is not used
Unused local symbols: care/facility/api/viewsets/patient.py#L340
Parameter 'view' value is not used
Unused local symbols: care/facility/api/viewsets/bed.py#L90
Parameter 'kwargs' value is not used
Unused local symbols: care/facility/api/viewsets/encounter_symptom.py#L18
Parameter 'name' value is not used
Unused local symbols: care/facility/migrations/0420_migrate_shifting_facility_type.py#L6
Parameter 'schema_editor' value is not used
Unused local symbols: care/facility/api/viewsets/patient_external_test.py#L75
Parameter 'obj' value is not used
Unused local symbols: care/facility/admin.py#L186
Parameter 'queryset' value is not used
Unused local symbols: care/facility/api/viewsets/open_id.py#L17
Parameter 'args' value is not used
Unused local symbols: care/facility/admin.py#L72
Parameter 'request' value is not used
Unused local symbols: care/facility/api/viewsets/inventory.py#L119
Parameter 'request' value is not used
Unused local symbols: care/facility/api/viewsets/shifting.py#L56
Parameter 'view' value is not used
Unused local symbols: care/users/management/commands/populate_investigations.py#L26
Parameter 'kwargs' value is not used
Unused local symbols: care/facility/migrations/0450_corrections_for_io_balance_fields.py#L36
Parameter 'schema_editor' value is not used
Unused local symbols: care/facility/api/viewsets/facility.py#L109
Parameter 'kwargs' value is not used
Unused local symbols: care/users/api/viewsets/users.py#L180
Parameter 'args' value is not used
Unused local symbols: care/facility/signals/asset_updates.py#L47
Parameter 'kwargs' value is not used
Unused local symbols: care/facility/api/viewsets/patient.py#L129
Parameter 'name' value is not used
Unused local symbols: care/users/migrations/0010_rename_skills.py#L6
Parameter 'schema_editor' value is not used
Unused local symbols: care/users/migrations/0009_userfacilityallocation.py#L9
Parameter 'schema_editor' value is not used
Unused local symbols: care/facility/api/viewsets/asset.py#L83
Parameter 'sender' value is not used
Unused local symbols: care/users/migrations_old/0046_auto_20230204_1733.py#L53
Parameter 'schema_editor' value is not used
Unused local symbols: care/facility/signals/asset_updates.py#L27
Parameter 'created' value is not used
Unused local symbols: care/users/management/commands/load_skill_data.py#L13
Parameter 'args' value is not used
Unused local symbols: care/facility/api/viewsets/patient_external_test.py#L67
Parameter 'view' value is not used
Unused local symbols: care/facility/api/viewsets/patient_sample.py#L30
Parameter 'view' value is not used
Unused local symbols: care/facility/management/commands/load_redis_index.py#L19
Parameter 'args' value is not used
Unused local symbols: care/facility/tests/test_patient_and_consultation_access.py#L179
Local variable 'res' value is not used
Unused local symbols: care/audit_log/receivers.py#L139
Parameter 'sender' value is not used
Unused local symbols: care/facility/signals/asset_updates.py#L14
Parameter 'using' value is not used
Unused local symbols: care/facility/api/viewsets/asset.py#L366
Parameter 'kwargs' value is not used
Unused local symbols: care/facility/migrations/0439_encounter_symptoms.py#L13
Parameter 'schema_editor' value is not used
Unused local symbols: care/users/admin.py#L24
Parameter 'queryset' value is not used
Unused local symbols: care/facility/signals/asset_updates.py#L47
Parameter 'using' value is not used
Unused local symbols: care/facility/api/viewsets/facility.py#L152
Parameter 'external_id' value is not used
Unused local symbols: care/facility/api/viewsets/asset.py#L249
Parameter 'request' value is not used
Unused local symbols: care/facility/api/viewsets/asset.py#L229
Parameter 'request' value is not used
Unused local symbols: care/contrib/sites/migrations/0003_set_site_domain_and_name.py#L11
Parameter 'schema_editor' value is not used
Unused local symbols: care/facility/api/viewsets/patient_consultation.py#L199
Parameter 'args' value is not used
Unused local symbols: care/facility/api/viewsets/facility.py#L56
Parameter 'view' value is not used
Unused local symbols: care/users/signals.py#L16
Parameter 'instance' value is not used
Unused local symbols: config/authentication.py#L92
Parameter 'request' value is not used
Unused local symbols: care/facility/api/viewsets/patient_external_test.py#L144
Parameter 'kwargs' value is not used
Unused local symbols: care/users/api/viewsets/lsg.py#L77
Parameter 'args' value is not used
Unused local symbols: care/users/migrations_old/0011_map_users_to_district.py#L6
Parameter 'args' value is not used
Unused local symbols: care/users/signals.py#L44
Parameter 'kwargs' value is not used
Unused local symbols: care/facility/api/viewsets/daily_round.py#L74
Parameter 'kwargs' value is not used
Unused local symbols: care/facility/api/viewsets/patient_consultation.py#L121
Parameter 'args' value is not used
Unused local symbols: care/users/models.py#L408
Parameter 'kwargs' value is not used
Unused local symbols: care/users/migrations/0008_rename_skill_and_add_new_20230817_1937.py#L6
Parameter 'schema_editor' value is not used
Unused local symbols: config/authentication.py#L204
Parameter 'auto_schema' value is not used
Unused local symbols: care/users/migrations/0013_staff_to_nurse.py#L17
Parameter 'apps' value is not used
Unused local symbols: care/facility/migrations/0466_camera_presets.py#L21
Parameter 'schema_editor' value is not used
Unused local symbols: care/facility/migrations_old/0293_auto_20220520_1941.py#L6
Parameter 'schema_editor' value is not used
Unused local symbols: care/facility/api/viewsets/notification.py#L53
Parameter 'kwargs' value is not used
Unused local symbols: care/facility/api/viewsets/facility.py#L109
Parameter 'args' value is not used
Unused local symbols: care/utils/ulid/models.py#L23
Parameter 'connection' value is not used
Unused local symbols: care/facility/migrations_old/0031_rename_kasargode.py#L6
Parameter 'args' value is not used
Unused local symbols: care/facility/api/viewsets/patient.py#L354
Parameter 'view' value is not used
Unused local symbols: care/users/api/viewsets/users.py#L208
Parameter 'args' value is not used
Unused local symbols: care/facility/migrations_old/0093_auto_20200415_1102.py#L6
Parameter 'args' value is not used
Unused local symbols: care/facility/migrations/0415_auto_20240227_0130.py#L8
Parameter 'schema_editor' value is not used
Unused local symbols: care/users/migrations_old/0013_auto_20200327_0437.py#L6
Parameter 'args' value is not used
Unused local symbols: care/users/admin.py#L24
Parameter 'request' value is not used
Unused local symbols: care/facility/api/viewsets/patient.py#L288
Parameter 'name' value is not used
Unused local symbols: care/facility/api/viewsets/patient_consultation.py#L157
Parameter 'kwargs' value is not used
Unused local symbols: care/utils/file_uploads/cover_image.py#L14
Parameter 'folder' value is not used
Unused local symbols: care/users/migrations/0013_staff_to_nurse.py#L17
Parameter 'schema_editor' value is not used
Unused local symbols: care/facility/models/ambulance.py#L100
Parameter 'request' value is not used
Unused local symbols: config/authentication.py#L216
Parameter 'auto_schema' value is not used
Unused local symbols: care/users/signals.py#L61
Parameter 'using' value is not used
Unused local symbols: care/users/signals.py#L44
Parameter 'using' value is not used
Unused local symbols: care/facility/management/commands/port_patient_wards.py#L14
Parameter 'options' value is not used
Unused local symbols: care/users/api/viewsets/users.py#L66
Parameter 'name' value is not used
Unused local symbols: care/facility/api/viewsets/asset.py#L229
Parameter 'args' value is not used
Unused local symbols: care/facility/api/viewsets/facility_capacity.py#L54
Parameter 'kwargs' value is not used
Unused local symbols: care/facility/management/commands/load_event_types.py#L293
Parameter 'options' value is not used
Unused local symbols: care/facility/management/commands/scrape_icd_data.py#L13
Parameter 'options' value is not used
Unused local symbols: care/facility/migrations_old/0359_auto_20230529_1907.py#L8
Parameter 'schema_editor' value is not used
Unused local symbols: care/facility/api/viewsets/inventory.py#L130
Parameter 'kwargs' value is not used
Unused local symbols: care/users/api/viewsets/change_password.py#L31
Parameter 'args' value is not used
Unused local symbols: care/facility/models/daily_round.py#L652
Parameter 'request' value is not used
Unused local symbols: care/users/reset_password_views.py#L270
Local variable 'token' value is not used
Unused local symbols: care/facility/api/serializers/patient_external_test.py#L27
Local variable 'district_obj' value is not used
Unused local symbols: care/audit_log/receivers.py#L160
Parameter 'sender' value is not used
Unused local symbols: care/facility/migrations/0405_bed_name_constraint.py#L8
Parameter 'schema_editor' value is not used
Unused local symbols: care/facility/api/viewsets/file_upload.py#L30
Parameter 'view' value is not used
Unused local symbols: care/users/models.py#L363
Parameter 'request' value is not used
Unused local symbols: care/users/reset_password_views.py#L120
Parameter 'args' value is not used
Unused local symbols: care/facility/migrations/0405_auto_20231211_1930.py#L23
Parameter 'schema_editor' value is not used
Unused local symbols: care/facility/migrations/0381_merge_ip_op_no.py#L8
Parameter 'schema_editor' value is not used
Unused local symbols: care/facility/migrations/0405_bed_name_constraint.py#L13
Parameter 'schema_editor' value is not used
Unused local symbols: care/facility/signals/asset_updates.py#L27
Parameter 'kwargs' value is not used
Unused local symbols: care/users/management/commands/load_state_data.py#L25
Local variable 'data' value is not used
Unused local symbols: care/facility/api/viewsets/asset.py#L352
Parameter 'args' value is not used
Unused local symbols: care/facility/api/viewsets/asset.py#L249
Parameter 'args' value is not used
Unused local symbols: care/facility/admin.py#L56
Parameter 'model_admin' value is not used
Unused local symbols: care/facility/api/serializers/inventory.py#L93
Local variable 'summary_obj' value is not used
Unused local symbols: care/facility/api/viewsets/patient_consultation.py#L157
Parameter 'args' value is not used
Unused local symbols: care/users/reset_password_views.py#L120
Parameter 'kwargs' value is not used
Unused local symbols: care/facility/api/viewsets/patient_investigation.py#L208
Parameter 'args' value is not used
Unused local symbols: care/facility/migrations/0416_update_facility_types.py#L6
Parameter 'schema_editor' value is not used
Unused local symbols: care/facility/migrations/0447_patientconsultationevent_taken_at.py#L6
Parameter 'schema_editor' value is not used
Unused local symbols: care/facility/migrations/0429_double_pain_scale.py#L11
Parameter 'schema_editor' value is not used
Unused local symbols: care/facility/management/commands/summarize.py#L19
Parameter 'args' value is not used
Unused local symbols: care/facility/api/viewsets/patient_investigation.py#L189
Parameter 'args' value is not used
Unused local symbols: care/facility/api/viewsets/ambulance.py#L67
Parameter 'args' value is not used
Unused local symbols: care/users/api/viewsets/users.py#L383
Parameter 'args' value is not used
Unused local symbols: care/facility/tasks/__init__.py#L20
Parameter 'kwargs' value is not used
Unused local symbols: care/users/migrations/0015_age_to_dateofbirth.py#L5
Parameter 'schema_editor' value is not used
Unused local symbols: care/users/management/commands/load_data.py#L54
Parameter 'args' value is not used
Unused local symbols: care/security/management/commands/sync_permissions_roles.py#L19
Parameter 'options' value is not used
Unused local symbols: care/users/api/viewsets/users.py#L383
Parameter 'kwargs' value is not used
Unused local symbols: care/facility/admin.py#L72
Parameter 'model_admin' value is not used
Unused local symbols: care/facility/api/viewsets/prescription.py#L52
Parameter 'name' value is not used
Unused local symbols: care/facility/api/viewsets/ambulance.py#L67
Parameter 'kwargs' value is not used
Unused local symbols: care/facility/migrations/0385_patientconsultation_is_readmission.py#L13
Parameter 'schema_editor' value is not used
Unused local symbols: care/facility/api/viewsets/prescription.py#L171
Parameter 'args' value is not used
Unused local symbols: care/facility/api/viewsets/notification.py#L53
Parameter 'args' value is not used
Unused local symbols: care/users/management/commands/load_data.py#L56
Local variable 'states' value is not used
Unused local symbols: care/facility/admin.py#L56
Parameter 'request' value is not used
Unused local symbols: care/facility/admin.py#L76
Parameter 'request' value is not used
Unused local symbols: care/utils/ulid/models.py#L23
Parameter 'prepared' value is not used
Unused local symbols: care/contrib/sites/migrations/0003_set_site_domain_and_name.py#L23
Parameter 'schema_editor' value is not used
Unused local symbols: care/facility/api/viewsets/asset.py#L92
Parameter 'name' value is not used
Unused local symbols: care/facility/signals/asset_updates.py#L14
Parameter 'update_fields' value is not used
Unused local symbols: care/facility/api/viewsets/ambulance.py#L80
Parameter 'args' value is not used
Unused local symbols: care/facility/management/commands/scrape_icd_data.py#L13
Parameter 'args' value is not used
Unused local symbols: care/users/migrations_old/0010_populate_district.py#L7
Parameter 'args' value is not used
Unused local symbols: care/facility/api/viewsets/asset.py#L83
Parameter 'created' value is not used
Unused local symbols: care/audit_log/receivers.py#L160
Parameter 'kwargs' value is not used
Unused local symbols: config/views.py#L14
Parameter 'request' value is not used
Unused local symbols: config/caches.py#L13
Parameter 'nx' value is not used
Unused local symbols: care/users/management/commands/seed_data.py#L18
Parameter 'kwargs' value is not used
Unused local symbols: care/users/migrations/0009_userfacilityallocation.py#L23
Parameter 'schema_editor' value is not used
Unused local symbols: care/users/migrations_old/0046_auto_20230204_1733.py#L49
Parameter 'schema_editor' value is not used
Unused local symbols: care/users/api/viewsets/lsg.py#L43
Parameter 'args' value is not used
Unused local symbols: care/facility/api/viewsets/asset.py#L450
Parameter 'args' value is not used
Unused local symbols: care/facility/management/commands/load_event_types.py#L293
Parameter 'args' value is not used
Unused local symbols: care/facility/migrations/0366_auto_20230627_1806.py#L8
Parameter 'schema_editor' value is not used
Unused local symbols: care/facility/migrations_old/0297_facility_location.py#L6
Parameter 'schema_editor' value is not used
Unused local symbols: care/users/reset_password_views.py#L71
Parameter 'kwargs' value is not used
Unused local symbols: care/facility/api/viewsets/file_upload.py#L46
Parameter 'obj' value is not used
Unused local symbols: care/facility/api/viewsets/patient_investigation.py#L189
Parameter 'request' value is not used
Unused local symbols: care/users/api/viewsets/plug_config.py#L19
Parameter 'request' value is not used
Unused local symbols: care/facility/migrations/0405_bed_name_constraint.py#L18
Parameter 'schema_editor' value is not used
Unused local symbols: care/facility/signals/asset_updates.py#L27
Parameter 'sender' value is not used
Unused local symbols: care/facility/api/viewsets/mixins/history.py#L8
Parameter 'request' value is not used
Unused local symbols: care/users/api/viewsets/lsg.py#L87
Parameter 'args' value is not used
Unused local symbols: care/users/api/viewsets/users.py#L246
Parameter 'request' value is not used
Unused local symbols: care/users/migrations/0013_staff_to_nurse.py#L8
Parameter 'apps' value is not used
Unused local symbols: care/facility/api/serializers/facility.py#L233
Parameter 'kwargs' value is not used
Unused local symbols: care/users/models.py#L408
Parameter 'args' value is not used
Unused local symbols: care/utils/tests/test_utils.py#L862
Parameter 'facility' value is not used
Unused local symbols: care/facility/migrations/0450_corrections_for_io_balance_fields.py#L17
Parameter 'schema_editor' value is not used
Unused local symbols: care/facility/signals/asset_updates.py#L27
Parameter 'using' value is not used
Unused local symbols: care/users/migrations/0016_upgrade_user_skills.py#L6
Parameter 'schema_editor' value is not used
Unused local symbols: care/users/api/viewsets/lsg.py#L43
Parameter 'kwargs' value is not used
Unused local symbols: config/ratelimit.py#L8
Parameter 'group' value is not used
Unused local symbols: care/users/migrations/0013_staff_to_nurse.py#L8
Parameter 'schema_editor' value is not used
Unused local symbols: care/facility/api/viewsets/patient_consultation.py#L177
Parameter 'kwargs' value is not used
Unused local symbols: care/facility/migrations/0367_auto_20230704_1646.py#L8
Parameter 'schema_editor' value is not used
Unused local symbols: care/facility/api/viewsets/facility.py#L109
Parameter 'request' value is not used
Unused local symbols: care/users/api/viewsets/users.py#L350
Parameter 'kwargs' value is not used
Unused local symbols: care/facility/migrations_old/0360_auto_20230608_1750.py#L7
Parameter 'schema_editor' value is not used
Unused local symbols: care/facility/models/mixins/permissions/asset.py#L10
Parameter 'obj' value is not used
Unused local symbols: care/users/api/viewsets/users.py#L246
Parameter 'kwargs' value is not used
Unused local symbols: care/facility/api/viewsets/mixins/history.py#L8
Parameter 'args' value is not used
Unused local symbols: care/facility/admin.py#L186
Parameter 'request' value is not used
Unused local symbols: care/facility/migrations/0412_availabilityrecord_unique_constraint.py#L4
Parameter 'schema_editor' value is not used
Unused local symbols: care/facility/migrations_old/0026_map_to_district.py#L5
Parameter 'args' value is not used
Unused local symbols: care/users/signals.py#L61
Parameter 'kwargs' value is not used
Unused local symbols: care/users/migrations/0015_age_to_dateofbirth.py#L16
Parameter 'schema_editor' value is not used
Unused local symbols: care/facility/api/viewsets/asset.py#L366
Parameter 'args' value is not used
Unused local symbols: care/facility/migrations/0394_auto_20231114_2219.py#L6
Parameter 'schema_editor' value is not used
Unused local symbols: care/users/management/commands/load_lsg_data.py#L23
Local variable 'counter' value is not used
Unused local symbols: care/utils/serializers/history_serializer.py#L5
Parameter 'args' value is not used
Unused local symbols: care/facility/tasks/location_monitor.py#L38
Local variable 'result' value is not used
Unused local symbols: care/facility/management/commands/load_redis_index.py#L19
Parameter 'options' value is not used
Unused local symbols: care/users/reset_password_views.py#L200
Parameter 'kwargs' value is not used
Unused local symbols: care/facility/api/viewsets/bed.py#L167
Parameter 'name' value is not used
Unused local symbols: care/facility/api/viewsets/notification.py#L53
Parameter 'request' value is not used
Unused local symbols: care/facility/utils/icd/scraper.py#L42
Local variable 'concepts' value is not used
Unused local symbols: care/facility/api/viewsets/events.py#L32
Parameter 'request' value is not used
Unused local symbols: care/users/api/viewsets/users.py#L257
Parameter 'kwargs' value is not used
Unused local symbols: config/caches.py#L6
Parameter 'nx' value is not used
Unused local symbols: care/facility/management/commands/generate_jwks.py#L13
Parameter 'args' value is not used
Unused local symbols: care/facility/signals/asset_updates.py#L14
Parameter 'sender' value is not used
Unused local symbols: care/users/api/viewsets/plug_config.py#L19
Parameter 'kwargs' value is not used
Unused local symbols: care/facility/api/viewsets/asset.py#L352
Parameter 'kwargs' value is not used
Unused local symbols: config/authentication.py#L266
Parameter 'auto_schema' value is not used
Unused local symbols: care/facility/api/viewsets/mixins/history.py#L8
Parameter 'kwargs' value is not used
Unused local symbols: care/abdm/migrations_old/0013_abhanumber_patient.py#L9
Parameter 'schema_editor' value is not used
Unused local symbols: care/users/migrations_old/0048_auto_20230609_1411.py#L8
Parameter 'schema_editor' value is not used
Unused local symbols: care/facility/api/viewsets/patient_consultation.py#L157
Parameter 'request' value is not used
Unused local symbols: care/facility/api/viewsets/patient.py#L237
Parameter 'name' value is not used
Unused local symbols: care/users/api/viewsets/users.py#L246
Parameter 'args' value is not used
Unused local symbols: care/facility/management/commands/sync_patient_age.py#L13
Parameter 'options' value is not used
Unused local symbols: care/users/api/viewsets/users.py#L285
Parameter 'args' value is not used
Unused local symbols: care/facility/models/resources.py#L140
Parameter 'request' value is not used
Unused local symbols: care/users/signals.py#L44
Parameter 'sender' value is not used
Unused local symbols: care/facility/api/viewsets/shifting.py#L164
Parameter 'kwargs' value is not used
Unused local symbols: config/authentication.py#L254
Parameter 'auto_schema' value is not used
Unused local symbols: care/facility/api/viewsets/shifting.py#L164
Parameter 'args' value is not used
Unused local symbols: care/facility/api/viewsets/asset.py#L83
Parameter 'kwargs' value is not used
Unused local symbols: care/facility/api/serializers/facility_capacity.py#L42
Parameter 'args' value is not used
Unused local symbols: care/facility/migrations/0393_alter_hospitaldoctors_count.py#L7
Parameter 'schema_editor' value is not used
Unused local symbols: care/users/management/commands/load_skill_data.py#L13
Parameter 'kwargs' value is not used
Unused local symbols: care/facility/api/viewsets/facility.py#L49
Parameter 'name' value is not used
Unused local symbols: care/users/signals.py#L16
Parameter 'sender' value is not used
Unused local symbols: care/facility/migrations_old/0287_asset_qr_code_id.py#L9
Parameter 'schema_editor' value is not used
Unused local symbols: care/users/api/viewsets/users.py#L85
Parameter 'name' value is not used
Unused local symbols: care/facility/api/serializers/patient_external_test.py#L53
Local variable 'local_body_obj' value is not used
Unused local symbols: care/facility/api/viewsets/asset.py#L388
Parameter 'kwargs' value is not used
Unused local symbols: care/facility/api/viewsets/notification.py#L68
Parameter 'args' value is not used
Unused local symbols: config/authentication.py#L235
Parameter 'auto_schema' value is not used
Unused local symbols: care/facility/migrations/0466_camera_presets.py#L25
Parameter 'schema_editor' value is not used
Unused local symbols: care/facility/api/viewsets/patient_investigation.py#L245
Parameter 'args' value is not used
Unused local symbols: care/audit_log/receivers.py#L139
Parameter 'update_fields' value is not used
Unused local symbols: care/users/api/serializers/user.py#L473
Parameter 'kwargs' value is not used
Unused local symbols: care/facility/migrations/0363_auto_20230621_1857.py#L7
Parameter 'schema_editor' value is not used
Unused local symbols: care/users/management/commands/load_state_data.py#L22
Parameter 'args' value is not used
Unused local symbols: care/users/signals.py#L16
Parameter 'kwargs' value is not used
Unused local symbols: care/audit_log/receivers.py#L139
Parameter 'kwargs' value is not used
Unused local symbols: care/facility/migrations_old/0319_file_upload_completed.py#L17
Parameter 'schema_editor' value is not used
Unused local symbols: care/users/api/viewsets/users.py#L394
Parameter 'args' value is not used
Unused local symbols: care/facility/migrations/0429_double_pain_scale.py#L33
Parameter 'schema_editor' value is not used
Unused local symbols: care/users/reset_password_views.py#L71
Parameter 'args' value is not used
Unused local symbols: care/users/signals.py#L61
Parameter 'sender' value is not used
Unused local symbols: care/facility/models/resources.py#L131
Parameter 'request' value is not used
Unused local symbols: care/facility/api/viewsets/facility_capacity.py#L54
Parameter 'args' value is not used
Unused local symbols: care/facility/api/viewsets/shifting.py#L56
Parameter 'queryset' value is not used
Unused local symbols: care/facility/api/viewsets/patient.py#L590
Parameter 'args' value is not used
Unused local symbols: care/users/management/commands/load_ward_data.py#L22
Parameter 'args' value is not used
Unused local symbols: care/facility/management/commands/load_dummy_data.py#L24
Parameter 'options' value is not used
Unused local symbols: care/facility/models/file_upload.py#L59
Parameter 'args' value is not used
Unused local symbols: care/facility/api/viewsets/consultation_diagnosis.py#L72
Parameter 'args' value is not used
Unused local symbols: care/utils/serializers/history_serializer.py#L5
Parameter 'kwargs' value is not used
Unused local symbols: care/facility/api/viewsets/facility.py#L161
Parameter 'args' value is not used
Unused local symbols: care/facility/api/viewsets/open_id.py#L17
Parameter 'kwargs' value is not used
Unused local symbols: care/facility/models/resources.py#L134
Parameter 'request' value is not used
Unused local symbols: care/facility/migrations/0408_patientnotesedit.py#L9
Parameter 'schema_editor' value is not used
Unused local symbols: care/facility/migrations/0405_auto_20231211_1930.py#L7
Parameter 'schema_editor' value is not used
Unused local symbols: care/facility/api/viewsets/prescription.py#L144
Parameter 'args' value is not used
Unused local symbols: care/facility/api/viewsets/ambulance.py#L80
Parameter 'kwargs' value is not used
Unused local symbols: care/facility/management/commands/sync_patient_age.py#L13
Parameter 'args' value is not used
Unused local symbols: care/users/signals.py#L16
Parameter 'args' value is not used
Unused local symbols: care/facility/models/mixins/permissions/asset.py#L5
Parameter 'view' value is not used
Unused local symbols: care/facility/api/viewsets/bed.py#L46
Parameter 'name' value is not used
Unused local symbols: care/users/management/commands/load_lsg_data.py#L21
Parameter 'args' value is not used
Unused local symbols: care/facility/management/commands/generate_jwks.py#L13
Parameter 'options' value is not used
Unused local symbols: care/facility/migrations_old/0319_file_upload_completed.py#L12
Parameter 'schema_editor' value is not used
Unused local symbols: care/users/management/commands/seed_data.py#L18
Parameter 'args' value is not used
Unused local symbols: care/facility/migrations/0434_unique_investigations.py#L8
Parameter 'schema_editor' value is not used
Unused local symbols: care/facility/api/viewsets/events.py#L41
Parameter 'request' value is not used
Unused local symbols: care/users/models.py#L177
Local variable 'i' value is not used
Unused local symbols: care/facility/api/viewsets/bed.py#L90
Parameter 'args' value is not used
Unused local symbols: care/facility/migrations/0376_auto_20230807_2148.py#L12
Parameter 'schema_editor' value is not used
Unused local symbols: care/users/api/viewsets/plug_config.py#L19
Parameter 'args' value is not used
Unused local symbols: care/utils/ulid/models.py#L30
Parameter 'expression' value is not used