Skip to content

Commit

Permalink
chore: update imports from commons
Browse files Browse the repository at this point in the history
  • Loading branch information
lchen-2101 committed Mar 19, 2024
1 parent 9c777df commit 7ff22b7
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 11 deletions.
4 changes: 2 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,13 @@ packages = [{ include = "regtech_user_fi_management", from = "src" }]

[tool.poetry.dependencies]
python = ">=3.12,<4"
fastapi = "^0.109.1"
uvicorn = "^0.22.0"
python-dotenv = "^1.0.0"
python-keycloak = "^3.0.0"
SQLAlchemy = "^2.0.16"
psycopg2-binary = "^2.9.6"
python-jose = "^3.3.0"
requests = "^2.31.0"
asyncpg = "^0.29.0"
alembic = "^1.12.0"
pydantic-settings = "^2.0.3"
regtech-api-commons = {git = "https://github.com/cfpb/regtech-api-commons.git"}

[tool.poetry.group.dev.dependencies]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from sqlalchemy.orm import joinedload
from sqlalchemy.ext.asyncio import AsyncSession

from regtech_api_commons.models import AuthenticatedUser
from regtech_api_commons.models.auth import AuthenticatedUser

from .repo_utils import get_associated_sbl_types, query_type

Expand Down
6 changes: 3 additions & 3 deletions src/regtech_user_fi_management/routers/admin.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
from starlette.authentication import requires
from regtech_user_fi_management.dependencies import check_domain

from regtech_api_commons.api import Router
from regtech_api_commons.api.router_wrapper import Router
from regtech_user_fi_management.entities.models.dto import UserProfile

from regtech_api_commons.models import RegTechUser
from regtech_api_commons.oauth2 import OAuth2Admin
from regtech_api_commons.models.auth import RegTechUser
from regtech_api_commons.oauth2.oauth2_admin import OAuth2Admin
from regtech_user_fi_management.config import kc_settings

router = Router()
Expand Down
2 changes: 1 addition & 1 deletion src/regtech_user_fi_management/routers/institutions.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
from http import HTTPStatus
from regtech_api_commons.oauth2.oauth2_admin import OAuth2Admin
from regtech_user_fi_management.config import kc_settings
from regtech_api_commons.api import Router
from regtech_api_commons.api.router_wrapper import Router
from regtech_user_fi_management.dependencies import (
check_domain,
parse_leis,
Expand Down

0 comments on commit 7ff22b7

Please sign in to comment.