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
Built Distribution
Close
Hashes for fastapi_exception-1.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c450534e65dc2b8123ebe593ca17429dd1a89b1f701f4bf45f2b23c696803137 |
|
MD5 | 082209cae1725266343b6f8c9657713b |
|
BLAKE2b-256 | ae6ad7ab258ee3c03e292b370d4d20e2c941d56f5039756dadfbdf86afea06db |