Commit Graph

2147 Commits

Author SHA1 Message Date
Foxells
1c7e1cb091
Merge bb20c403fe into abc79ef50f 2025-12-08 15:16:19 +07:00
ZipFile
abc79ef50f Fix Pydantic v2 deprecation warning triggering on settings class import 2025-12-06 17:45:15 +00:00
ZipFile
1510a84797 Bump version 2025-12-04 18:27:35 +00:00
Brian Pugh
51f8187202
Allow annotated marker to be anywhere in the annotation list (#939) 2025-12-04 20:12:43 +02:00
Elina
bb20c403fe remove redundant objects, add nested injection 2025-12-04 12:49:48 +04:00
Elina
3be88902e5 fix lint 2025-12-04 11:47:55 +04:00
Leonardus Chen
244deee75f
Retrofit assert_type for Aggregate and Callable (#935) 2025-11-15 11:00:23 +02:00
elina-israyelyan
9c9283d553 add docs, small reference in resource 2025-11-02 02:49:55 +04:00
elina-israyelyan
36586a4e57 take shutdown to Resource 2025-11-02 02:12:15 +04:00
elina-israyelyan
44a6a68647 take common code from ContextLocalResource to Resource 2025-11-02 02:02:56 +04:00
elina-israyelyan
066d228ab9 add setters/getters for resource, shutdown, initialized 2025-11-02 00:37:15 +04:00
ZipFile
d72d07caf7 Improve type annotations in providers 2025-11-01 13:49:21 +00:00
ZipFile
009a86de2c Imporve dict typings 2025-11-01 13:04:53 +00:00
Leonardus Chen
18e32521a0
Allow explicit typing on Selector using TypeVar with default Any (#932) 2025-10-24 15:37:08 +03:00
elina-israyelyan
bc7b4ebc37 revert fast depends version change 2025-10-24 13:36:01 +04:00
elina-israyelyan
1fea8e9d98 add tests for closing 2025-10-24 13:27:57 +04:00
elina-israyelyan
ead6ff22b8 fix tox.ini fast depends version 2025-10-24 13:27:57 +04:00
elina-israyelyan
9517467a98 fix fast depends version to v2 2025-10-24 13:27:57 +04:00
elina-israyelyan
78cea35db9 fix shutdowner default none value, add more tests 2025-10-24 13:27:57 +04:00
elina-israyelyan
4838ea6aa8 remove redundant tests 2025-10-24 13:27:57 +04:00
elina-israyelyan
403860aec1 add context local resource with minimal tests 2025-10-24 13:27:57 +04:00
AndrianEquestrian
059f78b27c
Fix FastDepends v3 compatibility (#933) 2025-10-23 16:33:53 +03:00
Leonardus Chen
9d3a43271e
Fix providers.Resource missing overloads for AbstractContextManager and AbstractAsyncContextManager (#927) 2025-10-10 10:06:24 +03:00
ZipFile
5acddac9c1 Add changelog entry for v4.48.2 2025-09-19 10:00:41 +00:00
ZipFile
9f77976a29 Fix typo
fixes #917
2025-09-19 09:59:39 +00:00
ZipFile
891f8b4190 Build ABI3 wheels only for Python>=3.10 2025-09-19 09:46:41 +00:00
ZipFile
8c2a32213a Add wheels Makefile target 2025-09-19 09:46:41 +00:00
ZipFile
91a741a633 Bump Cython version 2025-09-19 09:46:41 +00:00
ZipFile
1222827a5e Add warnings for unresolved markers 2025-09-19 09:46:41 +00:00
ZipFile
759d89e9bd Add reprs to wiring markers 2025-09-17 22:05:11 +00:00
Okot Daniel
1500a1de36 docs(declarative.rst): fix grammar in Declarative Container documentation (#916)
fixes #915
2025-08-11 08:48:50 +00:00
ZipFile
84a14f2ca7 Update changelog 2025-06-20 10:03:00 +00:00
ZipFile
0c58064a36 Make wiring inspect exclsuions extensible 2025-06-20 10:03:00 +00:00
ZipFile
eb74b1e9d0 Minor improvements for _cwiring.DependencyResolver code generation
* Remove KWPair
* Avoid type checks around _is_injectable
2025-06-20 10:03:00 +00:00
ZipFile
be7d25518d Add typing-extensions as a dependency for older Python versions 2025-06-20 10:03:00 +00:00
ZipFile
04b5907f21 Add warning on extra @inject 2025-06-20 10:03:00 +00:00
ZipFile
e6cc12762f Add support for resource_type in Lifespans 2025-06-18 21:58:00 +00:00
ZipFile
bf2ddbce32 Upgrade cibuildwheel 2025-06-16 10:51:39 +00:00
ZipFile
dd84a1b5d6 Bump version 2025-06-16 08:53:36 +00:00
ZipFile
31a98f7731 Update changelog 2025-06-16 08:51:10 +00:00
ZipFile
b261251b34 Fix Sphinx warning 2025-06-16 08:50:00 +00:00
Aran Moncusí Ramírez
4bfe64563e
Add resource type parameter to init and shutdown resources using specialized providers (#858) 2025-06-16 11:34:02 +03:00
AndrianEquestrian
b411807572
Add support for Fast Stream Depends (#898) 2025-06-16 10:37:31 +03:00
ZipFile
f2da51e0d4 Use typing_extensions.Self as fallback (fixes #902) 2025-06-05 16:26:40 +00:00
ZipFile
2293251986 Add docs for ASGI Lifespan support 2025-06-03 20:43:06 +00:00
ZipFile
1b4b3d349f Fix some more Sphinx warnings 2025-06-03 20:33:13 +00:00
ZipFile
d8e49f7dd5
Add support for async generator injections (#900) 2025-06-03 21:45:43 +03:00
ZipFile
c1f14a876a Expose null awaitables 2025-06-02 22:46:57 +00:00
ZipFile
c97a0cc515 Fix mypy warnings in dependency_injector.ext 2025-06-01 18:57:47 +00:00
ZipFile
0ada62acbf Add .editorconfig 2025-06-01 18:50:07 +00:00