FastAPI ODM Helper
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file fastapi_odm_helper-0.0.8.tar.gz
.
File metadata
- Download URL: fastapi_odm_helper-0.0.8.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa9374993fd2225e7a759faf6f5764dc831a83fdfecaff26be07f76995d0e927 |
|
MD5 | 7753027ed0317dc6914ea14a11aa8e24 |
|
BLAKE2b-256 | e57c147f340993141d1e9845170b3f8cdb71b59ffbac2d9607dfcaafac979c51 |
File details
Details for the file fastapi_odm_helper-0.0.8-py3-none-any.whl
.
File metadata
- Download URL: fastapi_odm_helper-0.0.8-py3-none-any.whl
- Upload date:
- Size: 5.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.11.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ca4b1ab7b997c06ef1654893ff6a351bea9557b0054e968c06abb9920a107c9c |
|
MD5 | c04a8e526b4630f109c511d1adf8d32f |
|
BLAKE2b-256 | 30d9c0f90927667396f0f27d9f563309a68e603f59825cf643ba77730571d6f0 |