release: bump version to 0.3.0
- Refactor Redis backend connection handling and pool management - Update algorithm implementations with improved type annotations - Enhance config loader validation with stricter Pydantic schemas - Improve decorator and middleware error handling - Expand example scripts with better docstrings and usage patterns - Add new 00_basic_usage.py example for quick start - Reorganize examples directory structure - Fix type annotation inconsistencies across core modules - Update dependencies in pyproject.toml
This commit is contained in:
@@ -160,11 +160,12 @@ Some examples support configuration via environment variables:
|
||||
Basic examples only need `fastapi-traffic` and `uvicorn`:
|
||||
|
||||
```bash
|
||||
pip install fastapi-traffic uvicorn
|
||||
uv add git+https://gitlab.com/zanewalker/fastapi-traffic.git
|
||||
uv add uvicorn
|
||||
```
|
||||
|
||||
For Redis examples:
|
||||
|
||||
```bash
|
||||
pip install redis
|
||||
uv add redis
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user