New Data Model : Add an Organization table #332
Merged
Codacy Production / Codacy Static Code Analysis
required action
Jul 13, 2024 in 0s
3 new issues (0 max.) of at least minor severity.
Here is an overview of what got changed by this pull request:
Issues
======
- Added 3
Complexity increasing per file
==============================
- src/app/api/api_v1/endpoints/organizations.py 2
- src/tests/endpoints/test_organizations.py 8
- src/app/schemas/organizations.py 1
- src/app/crud/crud_organization.py 1
- src/migrations/versions/2024_06_17_1521-4265426f8438_create_stes_table.py 1
- src/app/db.py 1
- src/app/api/api_v1/endpoints/cameras.py 3
- src/tests/conftest.py 3
Clones added
============
- src/tests/endpoints/test_organizations.py 29
- src/tests/endpoints/test_users.py 8
- src/tests/endpoints/test_cameras.py 12
- src/tests/endpoints/test_detections.py 13
See the complete overview on Codacy
Annotations
Check notice on line 2 in client/pyroclient/__init__.py
codacy-production / Codacy Static Code Analysis
client/pyroclient/__init__.py#L2
'.exceptions.*' imported but unused (F401)
Check notice on line 4 in src/app/crud/__init__.py
codacy-production / Codacy Static Code Analysis
src/app/crud/__init__.py#L4
'.crud_organization.*' imported but unused (F401)
Check notice on line 6 in src/app/schemas/__init__.py
codacy-production / Codacy Static Code Analysis
src/app/schemas/__init__.py#L6
'.organizations.*' imported but unused (F401)
Loading