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.3.8.tar.gz
(10.9 kB
view hashes)
Built Distribution
Close
Hashes for fastapi_exception-1.3.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1e684b3c5e1958ebd058c6c6ec759fb14ec00ee66d44dfafc9746a2835e355f |
|
MD5 | 8631b0f23fe44da07977c974db1abba3 |
|
BLAKE2b-256 | 5ecbb1b0bfa6f298f7369d9e792bc993d0d626b1c0179fb26b5cbd4f91c4e2bc |