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.4.tar.gz
(10.3 kB
view hashes)
Built Distribution
Close
Hashes for fastapi_exception-1.3.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1a1f732d867b1ee68e5a3462707d979cbf7194bd1c96b2f10f893a251e09ba88 |
|
MD5 | 17a983503255d71a44f720b2d9f2eff7 |
|
BLAKE2b-256 | 0cda65688da6a475b099840517efb8ee26fb1984ace1d81e5aad922c23dd3dc1 |