Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion migrations/env.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
from settings import get_settings
from userdata_api.models.base import Base


# this is the Alembic Config object, which provides
# access to the values within the .ini file in use.
config = context.config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import sqlalchemy as sa
from alembic import op


revision = '0932ab8ca14a'
down_revision = 'f8c57101c0f6'
branch_labels = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import sqlalchemy as sa
from alembic import op


# revision identifiers, used by Alembic.
revision = '5a6490c55c81'
down_revision = '0932ab8ca14a'
Expand Down
1 change: 0 additions & 1 deletion migrations/versions/f8c57101c0f6_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import sqlalchemy as sa
from alembic import op


revision = 'f8c57101c0f6'
down_revision = None
branch_labels = None
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
import sqlalchemy as sa
from alembic import op


# revision identifiers, used by Alembic.
revision = 'fc911d58459b'
down_revision = '5a6490c55c81'
Expand Down
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ skip-string-normalization = true
line_length = 120
multi_line_output = 3
profile = "black"
lines_after_imports = 2
include_trailing_comma = true

[tool.pytest.ini_options]
Expand Down
2 changes: 1 addition & 1 deletion requirements.dev.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
autoflake
black==23.11.0
black
httpx
isort
pytest
Expand Down
1 change: 0 additions & 1 deletion userdata_api/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import os


__version__ = os.getenv('APP_VERSION', 'dev')
1 change: 0 additions & 1 deletion userdata_api/models/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from . import db


__all__ = ["db"]
1 change: 0 additions & 1 deletion userdata_api/routes/__init__.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
from . import exc_handlers


__all__ = ["exc_handlers"]
1 change: 0 additions & 1 deletion userdata_api/routes/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
from userdata_api.schemas.response_model import StatusResponseModel
from userdata_api.utils.admin import get_user_info, patch_user_info


admin = APIRouter(prefix="/admin", tags=["Admin"])


Expand Down
1 change: 0 additions & 1 deletion userdata_api/routes/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
from .source import source
from .user import user


settings = get_settings()
app = FastAPI(
title='Сервис пользовательских данных',
Expand Down
1 change: 0 additions & 1 deletion userdata_api/routes/category.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from userdata_api.schemas.category import CategoryGet, CategoryPatch, CategoryPost
from userdata_api.schemas.response_model import StatusResponseModel


category = APIRouter(prefix="/category", tags=["Category"])


Expand Down
1 change: 0 additions & 1 deletion userdata_api/routes/param.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
from userdata_api.schemas.param import ParamGet, ParamPatch, ParamPost
from userdata_api.schemas.response_model import StatusResponseModel


param = APIRouter(prefix="/category/{category_id}/param", tags=["Param"])


Expand Down
1 change: 0 additions & 1 deletion userdata_api/routes/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
from userdata_api.schemas.response_model import StatusResponseModel
from userdata_api.schemas.source import SourceGet, SourcePatch, SourcePost


source = APIRouter(prefix="/source", tags=["Source"])


Expand Down
1 change: 0 additions & 1 deletion userdata_api/routes/user.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
from userdata_api.utils.user import get_users_info_batch as get_users
from userdata_api.utils.user import patch_user_info as patch


user = APIRouter(prefix="/user", tags=["User"])


Expand Down
Loading