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
- Set global app env
from fastapi import FastAPI
from fastapi_global_variable import GlobalVariable
app = FastAPI(title="Application")
GlobalVariable.set('app', app)
- Init FastAPI
from config.i18n import i18n_service
from fastapi_exception import FastApiException
FastApiException.init(i18n_service)
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.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 15b1b0c4f50652127bb2ed81a0e16745432ba4d9cc3239d0e5e3b238d90c708d |
|
MD5 | 175a138ea3362424496614bfded02fd0 |
|
BLAKE2b-256 | e9579dd6807fd117f730985e79ecc7e1082e78917756d3efec88208334484246 |