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.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8ca26b6cb54e93f4dca60db1c9d9a1634c9502beacc2938bfa7e25afeefc2463 |
|
MD5 | 3a5447212edcf2b432733538c93c69da |
|
BLAKE2b-256 | 6a003b35532cd374fb3687112115ef159f4b19bf6a84b39faaa2e47d0faf5802 |