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-0.0.16-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c52b91c7077a42afa803983be0581f416a5f8696665cc036c72edfbc54c8dd05 |
|
MD5 | feda6c4b5f8bf323b618312aed99f973 |
|
BLAKE2b-256 | d508429aacc1b9e51752522927c49297d59a277a7ca8585dfa1d32194f561ea5 |