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.2.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82fb07d3d1c196d5d0bb09bf79053c7484401d00f3375360bdf6284d23198712 |
|
MD5 | fd07a750c42325c7dc89200bc475a2a3 |
|
BLAKE2b-256 | 2f8c7a14905dac49f5d0262a5856f40e655d48af7ef7defe8ce3781e23d68dc1 |