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
fastapi_exception-1.3.3.tar.gz
(10.3 kB
view details)
Built Distribution
File details
Details for the file fastapi_exception-1.3.3.tar.gz
.
File metadata
- Download URL: fastapi_exception-1.3.3.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6f8bc8f25d4caa493de172eec67b87dc739ded18609333a38446d2dfc13ecc42 |
|
MD5 | dc078ae871942d5f6296e3c812e959e7 |
|
BLAKE2b-256 | 45de66e53513dbefead695c54c3f4905403b89d9ebe6c55ff29db8831330bc9f |
File details
Details for the file fastapi_exception-1.3.3-py3-none-any.whl
.
File metadata
- Download URL: fastapi_exception-1.3.3-py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.13
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d298d37a041a33d7b8651f86929b0fb7f7dc2059b4d14f6172066a41ffd67732 |
|
MD5 | 3e275a5a3c7b53758fab7fd429ca96c9 |
|
BLAKE2b-256 | fc477c8a085b2cfc08a7a5959409d7e894b877202c4a7cb28ce10284469db98d |