FastAPI Event
Project description
FastAPI Exception
Setup python environment
python3 -m venv venv
Active the python environemt
. venv/bin/activate
Install requirements
pip install -r requirements.txt
How to use
# Init FastAPI
# config/exception.py
from config.i18n import i18n_service
from fastapi_exception import FastApiException
FastApiException.init()
FastApiException.init(translator_service=i18n_service) # pass translator_service if we integrate with i18n
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
fastapi_exception-1.0.0.tar.gz
(11.4 kB
view hashes)
Built Distribution
Close
Hashes for fastapi_exception-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bb6af882f10731c76539b9c20b5b31117831b2fc5fb7c1dde191e4fb644e0167 |
|
MD5 | e5a9ee9bd8ad066e8bb5d11ea6fc289d |
|
BLAKE2b-256 | 52da01ce64cea1ec354cd114bd010d5b86a90c515a10aea530fe9b1ab8db2985 |