Skip to content

Commit 34f6ccc

Browse files
authored
chore: upgrade pyproject + dev dependencies - DIA-45950 (#61)
1 parent e628531 commit 34f6ccc

13 files changed

Lines changed: 652 additions & 728 deletions

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: 2.1
33
orbs:
44
base: dialogue/base@1.12.0
55
release: dialogue/release@2.6.1
6-
python: dialogue/python@3.4.0
6+
python: dialogue/python@3.4.1
77
utils: dialogue/utils@3.7.0
88

99
workflows:

fastapi_sqla/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,8 @@ class Page(Collection, Generic[T]):
234234
def default_query_count(session: Session, query: DbQuery) -> int:
235235
"""Default function used to count items returned by a query.
236236
237-
It is slower than a manually written query could be: It runs the query in a subquery,
238-
and count the number of elements returned.
237+
It is slower than a manually written query could be: It runs the query in a
238+
subquery, and count the number of elements returned.
239239
240240
See https://gist.github.com/hest/8798884
241241
"""

fastapi_sqla/_pytest_plugin.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,6 @@ async def async_session(
191191
yield session
192192
await session.close()
193193

194-
195194
else:
196195

197196
@fixture

fastapi_sqla/asyncio_support.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ async def get_users(session: AsyncSession = Depends()):
6060

6161
@asynccontextmanager
6262
async def open_session() -> AsyncSession:
63-
"""Context manager to open an async session and properly closes session when exiting.
63+
"""Context manager to open an async session and properly close it when exiting.
6464
6565
If no exception is raised before exiting context, session is committed when exiting
6666
context. If an exception is raised, session is rollbacked.

0 commit comments

Comments
 (0)