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.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d706ff049d096d0397eca4a14c392e4a7a0e8e800e9978d746660764d06a6f12 |
|
MD5 | ee6e65c04afa351843fe3bea96eb2d00 |
|
BLAKE2b-256 | 9082892a3880eb57ad98c70a9b1b796fdd3806f8e72042548802dae9e004c048 |