45 Commits (95cd0164cdd986e889fc7e25c1f4a60167e9c4e0)

Author SHA1 Message Date
ipeluffo 95cd0164cd
Fix mypy linting issue 2 months ago
ipeluffo 17fd86be57
Fix ruff linting issue 2 months ago
pre-commit-ci-lite[bot] b4339667e2
🎨 Auto format 2 months ago
ipeluffo f44a2329ec
Make cache field typing more accurate 2 months ago
ipeluffo 2daccb0e32
Enable `slots` option 2 months ago
ipeluffo da148fb8a3
Refactor `Dependant.computed_scope` property for improved memory usage 2 months ago
ipeluffo a69af67db3
Refactor `Dependant.is_coroutine_callable` property for improved memory usage 2 months ago
ipeluffo dd109d3695
Refactor `Dependant.is_async_gen_callable` property for improved memory usage 2 months ago
ipeluffo 7c8bf4d688
Refactor `Dependant.is_gen_callable` property for improved memory usage 2 months ago
ipeluffo 6a074fff5b
Refactor `Dependant._security_dependencies` property for improved memory usage 2 months ago
ipeluffo 381ffe4eca
Fix wrong default 2 months ago
ipeluffo b89e501c75
Refactor `Dependant._security_scheme` property for improved memory usage 2 months ago
ipeluffo a8f68a382f
Refactor `Dependant._is_security_scheme` property for improved memory usage 2 months ago
ipeluffo 1d23ed03b9
Refactor `Dependant._uses_scopes` property for improved memory usage 2 months ago
ipeluffo cf1a8bb42d
Refactor `Dependant.cache_key` property for improved memory usage 2 months ago
ipeluffo a92e6a349f
Refactor `Dependant.oauth_scopes` property for improved memory usage 2 months ago
Sebastián Ramírez 3da206c06d
🎨 Update internal types for Python 3.10 (#14898) 4 months ago
Sebastián Ramírez 1c4fc96c91
♻️ Upgrade internal syntax to Python 3.9+ 🎉 (#14564) 6 months ago
Motov Yurii da0ffab0b2
🐛 Fix using class (not instance) dependency that has `__call__` method (#14458) 6 months ago
Sebastián Ramírez 0b5fa563cd
🐛 Fix OAuth2 scopes in OpenAPI in extra corner cases, parent dependency with scopes, sub-dependency security scheme without scopes (#14459) 6 months ago
Sebastián Ramírez bba4d4c95e
🐛 Fix support for functools wraps and partial combined, for async and regular functions and classes in path operations and dependencies (#14448) 6 months ago
Lie Ryan 9824486616
Allow using dependables with `functools.partial()` (#9753) 6 months ago
Matthew Martin 73c411e1b9
Handle wrapped dependencies (#9555) 6 months ago
Sebastián Ramírez 7fbd30460f
🐛 Cache dependencies that don't use scopes and don't have sub-dependencies with scopes (#14419) 6 months ago
Sebastián Ramírez ac438b9934
Add support for dependencies with scopes, support `scope="request"` for dependencies with `yield` that exit before the response is sent (#14262) 7 months ago
Sebastián Ramírez 581aacc4a9
♻️ Refactor and simplify dependencies data structures with dataclasses (#12098) 2 years ago
Sebastián Ramírez 0976185af9
Add support for Pydantic v2 (#9816) 3 years ago
Sebastián Ramírez fdb6c9ccc5
Improve type annotations, add support for mypy --strict, internally and for external packages (#2547) 6 years ago
Marcelo Trylesinski b299792ebf
✏️ Fix typo on dependencies utils and cleanup unused variable (#1912) 6 years ago
Sebastián Ramírez e1758d107e
⬆ Require Pydantic > 1.0 (#1862) 6 years ago
Nik b9a0179a03
Add support for injecting HTTPConnection (#1827) 6 years ago
Nima Mashhadi M. Reza 3223de5598
🎨 Add typing.Optional to variables that accept None as value (#1731) 6 years ago
dmontagu ab2b86fe2c Add support for Pydantic v1 and above 🎉 (#646) 7 years ago
Sebastián Ramírez 5f7fe926ab
Add support for Response parameters to set headers, cookies, and status codes (#294) 7 years ago
Sebastián Ramírez bff5dbbf5d
Implement dependency value cache per request (#292) 7 years ago
Sebastián Ramírez 09cd7c47a1
Implement dependency overrides for testing (#291) 7 years ago
James Kaplan b087246f26 Add support for WebSockets with dependencies, params, etc #166 (#178) 7 years ago
Sebastián Ramírez 7391056daf
Add OAuth2 scopes with SecurityScopes, upgrade Security (#141) 7 years ago
Sebastián Ramírez 9b04593260
Add support for BackgroundTasks parameters (#103) 7 years ago
Sebastián Ramírez 7da9625505 💚 Revert to flit install and re-format 8 years ago
Sebastián Ramírez 00e2e544c7 ♻️ Re-format tutorials, files names and tests 8 years ago
Sebastián Ramírez d9fbead646 🎨 Remove un-used imports, add auto-flake 8 years ago
Sebastián Ramírez db3c270f8e Update requests with body, rename params 8 years ago
Sebastián Ramírez 0e19c24014 Update parameter names and order 8 years ago
Sebastián Ramírez b9d912c638 ♻️ Refactor, fix and update code 8 years ago