Paweł Rubin
fdbd48be5f
⬆ Upgrade Starlette to `0.21.0`, including the new [`TestClient` based on HTTPX]( https://github.com/encode/starlette/releases/tag/0.21.0 ) ( #5471 )
Co-authored-by: Paweł Rubin <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
2 years ago
Hylke Postma
3b2e891917
✨ Add `description` parameter to all the security scheme classes, e.g. `APIKeyQuery(name="key", description="A very cool API key")` ( #1757 )
Co-authored-by: Hylke Postma <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
4 years ago
Yurii Karabas
55b9faeb48
♻ Simplify code syntax in several places ( #1753 )
Co-authored-by: Sebastián Ramírez <[email protected] >
5 years ago
Nima Mashhadi M. Reza
3223de5598
🎨 Add typing.Optional to variables that accept None as value ( #1731 )
Co-authored-by: nimashadix <[email protected] >
Co-authored-by: Sebastián Ramírez <[email protected] >
5 years ago
Brian Mboya
fe453f80ed
⬆ Upgrade isort to version 5.x.x ( #1670 )
* Update isort script to match changes in the new release, isort v5.0.2
* Downgrade isort to version v4.3.21
* Add an alternative flag to --recursive in isort v5.0.2
* Add isort config file
* 🚚 Import from docs_src for tests
* 🎨 Format dependencies.utils
* 🎨 Remove isort combine_as_imports, keep black profile
* 🔧 Update isort config, use pyproject.toml, Black profile
* 🔧 Update format scripts to use explicit directories to format
otherwise it would try to format venv env directories, I have several with different Python versions
* 🎨 Format NoSQL tutorial after re-sorting imports
* 🎨 Fix format for __init__.py
Co-authored-by: Sebastián Ramírez <[email protected] >
5 years ago
Sebastián Ramírez
dcc1e1bcf8
♻️ Refine internal type declarations and logic around them ( #338 )
6 years ago
Sebastián Ramírez
d262f6e929
🐛 Fix HTTP Bearer security auto-error ( #282 )
6 years ago
Sebastián Ramírez
f216d340ec
✨ Add automatic header handling for HTTP Basic Auth ( #175 )
* ✨ Add automatic header handling for HTTP Basic Auth
* 🎨 Remove obsolete comment
6 years ago
Sebastián Ramírez
fad3a9e1dc
✨ Add auto_error to security utils ( #134 )
to allow them to be optional, also allowing the declaration of multiple security schemes
6 years ago
Sebastián Ramírez
90af868146
✨ Add security checks for HTTP utils
and tests for them
6 years ago
Sebastián Ramírez
0393a093d3
✨ Improve security utilities and add tests
6 years ago
Sebastián Ramírez
7da9625505
💚 Revert to flit install and re-format
As it has shown to be more reliable, and closer to final user environments
6 years ago
Sebastián Ramírez
00e2e544c7
♻️ Re-format tutorials, files names and tests
for tutorial files
6 years ago
Sebastián Ramírez
db3c270f8e
✨ Update requests with body, rename params
6 years ago
Sebastián Ramírez
0e19c24014
✨ Update parameter names and order
fix mypy types, refactor, lint
6 years ago
Sebastián Ramírez
addfa89b0f
✨ Refactor, update code, several features
6 years ago
Sebastián Ramírez
b9d912c638
♻️ Refactor, fix and update code
6 years ago
Sebastián Ramírez
406c092a3b
🎉 Start tracking messy initial stage
...before refactoring and breaking something
6 years ago