Skip to content

Commit a0fdfce

Browse files
fix: replace AsyncContextManager with AbstractAsyncContextManager to fix UP035 lint error
1 parent 3291d9f commit a0fdfce

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

archipy/helpers/utils/app_utils.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -226,11 +226,11 @@ class AppUtils:
226226

227227
@classmethod
228228
def create_fastapi_app(
229-
cls,
230-
config: BaseConfig | None = None,
231-
*,
232-
configure_exception_handlers: bool = True,
233-
lifespan: Callable[..., AbstractAsyncContextManager] | None = None,
229+
cls,
230+
config: BaseConfig | None = None,
231+
*,
232+
configure_exception_handlers: bool = True,
233+
lifespan: Callable[..., AbstractAsyncContextManager] | None = None,
234234
) -> FastAPI:
235235
"""Creates and configures a FastAPI application.
236236

0 commit comments

Comments
 (0)