Skip to content

Commit

Permalink
Merge branch 'dependabot/pip/black-24.4.2' of https://github.com/cfpb…
Browse files Browse the repository at this point in the history
…/regtech-user-fi-management into dependabot/pip/black-24.4.2
  • Loading branch information
jcadam14 committed May 6, 2024
2 parents 63317d4 + efa2839 commit e7bafb4
Show file tree
Hide file tree
Showing 22 changed files with 262 additions and 240 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Create Date: 2023-11-29 11:55:10.328766
"""

from typing import Sequence, Union

from alembic import op
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Create Date: 2024-03-12 11:40:25.790658
"""

from typing import Sequence, Union

from alembic import op
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Create Date: 2023-11-29 12:03:41.737864
"""

from typing import Sequence, Union

from alembic import op
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Create Date: 2023-11-02 11:37:52.487064
"""

from typing import Sequence, Union
from alembic import op
import sqlalchemy as sa
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Create Date: 2023-12-14 01:23:17.872728
"""

from typing import Sequence, Union
from alembic import op
from db_revisions.utils import get_table_by_name, get_indices_from_collection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Create Date: 2024-01-31 10:23:01.081439
"""

from typing import Sequence, Union

from alembic import op
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Create Date: 2023-12-27 14:21:33.567414
"""

from typing import Sequence, Union

from alembic import op
Expand Down
1 change: 1 addition & 0 deletions db_revisions/versions/3f893e52d05c_240130_add_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Create Date: 2024-01-30 14:37:47.652233
"""

from typing import Sequence, Union

from alembic import op
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Create Date: 2023-11-29 12:09:20.012400
"""

from typing import Sequence, Union

from alembic import op
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Create Date: 2023-11-29 12:20:05.593826
"""

from typing import Sequence, Union

from alembic import op
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Create Date: 2024-01-11 14:33:56.518611
"""

from typing import Sequence, Union

from alembic import op
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Create Date: 2023-12-14 01:21:48.325752
"""

from typing import Sequence, Union
from alembic import op
from db_revisions.utils import get_table_by_name, get_indices_from_collection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Create Date: 2024-01-31 10:23:21.163572
"""

from typing import Sequence, Union

from alembic import op
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Create Date: 2023-11-29 12:14:16.694281
"""

from typing import Sequence, Union

from alembic import op
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Create Date: 2023-12-14 01:24:00.120073
"""

from typing import Sequence, Union
from alembic import op
from db_revisions.utils import get_table_by_name, get_indices_from_collection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Create Date: 2023-11-02 11:31:54.882727
"""

from typing import Sequence, Union

from alembic import op
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Create Date: 2023-12-29 12:33:11.031470
"""

from typing import Sequence, Union

from alembic import op
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Create Date: 2023-12-14 01:23:47.017878
"""

from typing import Sequence, Union
from alembic import op
from db_revisions.utils import get_table_by_name, get_indices_from_collection
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
Create Date: 2023-11-02 11:34:43.808166
"""

from typing import Sequence, Union

from alembic import op
Expand Down
473 changes: 237 additions & 236 deletions poetry.lock

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ regtech-regex = {git = "https://github.com/cfpb/regtech-regex.git"}

[tool.poetry.group.dev.dependencies]
httpx = "^0.24.1"
pytest = "^7.4.0"
pytest = "^8.2.0"
pytest-asyncio = "^0.23.6"
aiosqlite = "^0.19.0"
pytest-cov = "^5.0.0"
Expand Down
8 changes: 5 additions & 3 deletions src/regtech_user_fi_management/entities/repos/repo_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,10 @@ def get_associated_sbl_types(
lei: str, user_id: str, types: Sequence[SblTypeAssociationDto | str]
) -> Sequence[SblTypeMappingDao]:
return [
SblTypeMappingDao(type_id=t, lei=lei, modified_by=user_id)
if isinstance(t, str)
else SblTypeMappingDao(type_id=t.id, details=t.details, lei=lei, modified_by=user_id)
(
SblTypeMappingDao(type_id=t, lei=lei, modified_by=user_id)
if isinstance(t, str)
else SblTypeMappingDao(type_id=t.id, details=t.details, lei=lei, modified_by=user_id)
)
for t in types
]

0 comments on commit e7bafb4

Please sign in to comment.