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.3.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 655b354ad80c35a7a95461ff3829a692fcadcd45b4e6ebe427473ab872c039d7 |
|
MD5 | 862fb82177d80bfc62f294a4ee854545 |
|
BLAKE2b-256 | 97ea6fd44a996413ac270c8fa8c1af063f36db5999469c6600398a566435fd0d |