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.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90f7aa09a7c197744156c5c62f3f95f475492327f1885420d9ce66ca33542bb0 |
|
MD5 | 55338bf42bc5d2cc1c10f6caf2a1b630 |
|
BLAKE2b-256 | 7824be85444064f06d7ec1a7c218980fe408507e73b6604cf4cdbd63f92764ab |