Skip to content
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

New Data Model : Add an Organization table #332

Merged
merged 23 commits into from
Jul 15, 2024

fix linting

10f9f7e
Select commit
Loading
Failed to load commit list.
Merged

New Data Model : Add an Organization table #332

fix linting
10f9f7e
Select commit
Loading
Failed to load commit list.
Codacy Production / Codacy Static Code Analysis required action Jul 13, 2024 in 0s

3 new issues (0 max.) of at least minor severity.

Codacy 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production 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

See this annotation in the file changed.

@codacy-production codacy-production / Codacy Static Code Analysis

src/app/schemas/__init__.py#L6

'.organizations.*' imported but unused (F401)