Buckets:
AnonymousSpottedToad/human_verified_bucket / codebase /python /ddeutils_ddeutil-observe /src /ddeutil /observe /crud.py
| # ------------------------------------------------------------------------------ | |
| # Copyright (c) 2022 Korawich Anuttra. All rights reserved. | |
| # Licensed under the MIT License. See LICENSE in the project root for | |
| # license information. | |
| # ------------------------------------------------------------------------------ | |
| from __future__ import annotations | |
| from fastapi import Depends | |
| from sqlalchemy.ext.asyncio import AsyncSession | |
| from .deps import get_async_session | |
| class BaseCRUD: | |
| def __init__( | |
| self, | |
| session: AsyncSession = Depends(get_async_session), | |
| ) -> None: | |
| self.async_session: AsyncSession = session | |
Xet Storage Details
- Size:
- 640 Bytes
- Xet hash:
- 47d2cbec3728e594a36ce630cb1ca75b08c183fa47fe8bc0195d29395f75bb43
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.