FastAPI ODM Helper
FastAPI ODM Helper helps us to work with beanie easier with lots of useful functions
How to use
- BaseRepository
from fastapi_odm_helper import BaseRepository
from users.entities.user import UserEntity
class UserRepository(BaseRepository[UserEntity]):
_entity = UserEntity
- @Entity decorator
from fastapi_odm_helper import Entity
@Entity()
class UserEntity(BaseEntity):
id: UUID
Metadata
Release files for fastapi-odm-helper 0.0.20
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| fastapi_odm_helper-0.0.20.tar.gz | 6.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| fastapi_odm_helper-0.0.20-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.0 kB
Release files / fastapi_odm_helper-0.0.20.tar.gz
| Download URL | fastapi_odm_helper-0.0.20.tar.gz |
|---|---|
| Size | 6.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a7b645dae09cf60b8159e1ca62b906f86daab0a5d2e1742588d29cfc84dd5e8d
|
|
BLAKE2b-256 checksum How to use checksums |
a72b4d1febeb2bde4fa5e70ecd8bebaa42a352f2782b79f4ab2ccd234f8b97f9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.16
|
Release files / fastapi_odm_helper-0.0.20-py3-none-any.whl
| Download URL | fastapi_odm_helper-0.0.20-py3-none-any.whl |
|---|---|
| Size | 5.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
935739b7bf284dc0ba960e4df1c3dd544803845574baa5349d3cc8d58fd4e114
|
|
BLAKE2b-256 checksum How to use checksums |
17937e16c7c70b66ecf2c0f8c3e8ca8c64657ac5973f3d196bf535dffe73f654
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.10.16
|