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.9.tar.gz
.
File metadata
- Download URL: fastapi_odm_helper-0.0.9.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 | da7d4de1c1afc9f888addf7047ad096983cf018957b32022da554c79117d6350 |
|
MD5 | f94b0b520bc14459e64a75b0987637b1 |
|
BLAKE2b-256 | ffcf07c5c8d3c068d241a58fc1dcce91b88823d2f7e8bda932f6fb61310dbb67 |
File details
Details for the file fastapi_odm_helper-0.0.9-py3-none-any.whl
.
File metadata
- Download URL: fastapi_odm_helper-0.0.9-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 | 05bb5ed71a6428385783a138b2ed72a358a0d04552651a7b5b2f97e01c6a7f0a |
|
MD5 | 66f943c686c0877b787104d0a6f658b9 |
|
BLAKE2b-256 | 90ee8e7cac01b1ea52305f809411b86ab92ea3e49abd3cc747071d2dac99be11 |