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.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6d949fd668eb8464e39c8326d7fa0c0f55a386341c7fa7938f2d4edbd8bda4f7 |
|
MD5 | a30bc3e284d872d2c22fcd374b381440 |
|
BLAKE2b-256 | 3f957c8148963469a5f3cf0bbdc7e4e95768fe13d6e87f80669058f30f0b3d91 |