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.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cf458fd2b918056fa5be0f6b1d4ed89a1d971b6efd5fe1d3897407beb7433a15 |
|
MD5 | 2d442bb5189bab3217da4d9ba596e9df |
|
BLAKE2b-256 | a043786d4f20aefbddfa8eb95a7ba16f6366c583edec91ee2ee2406d923d117c |