Commit Graph

2147 Commits

Author SHA1 Message Date
Pablo Valverde
bf193953b7
Merge 06b1bd023b into 13847c0ce6 2026-01-31 15:34:36 +02:00
Leonardus Chen
13847c0ce6
Retrofit assert type for some type-stub checks (#943)
Retrofit assert type for:

- configuration.py
- container.py
- declarative_container.py
- delegate.py
- dependencies_container.py
- dependency.py
- dict.py
- dynamic_container.py
2026-01-31 15:34:10 +02:00
ZipFile
b6316a892b Use Optional instead of | None 2026-01-31 13:29:30 +00:00
Roman Tolkachyov
2741cd7ff9
Add keep_cache argument to Container.wire typings (#952) 2026-01-31 15:27:38 +02:00
jondan
03df1a51ae
Add missing warn_unresolved parameter to WiringConfiguration in containers.pyi (#951) 2026-01-30 13:09:57 +02:00
Pablo Valverde
06b1bd023b Add ServiceWithCallable and related tests for method calls with args and kwargs 2025-12-10 15:52:35 +01:00
Pablo Valverde
4f8c4bf08d Add provided()<func>.call *args, **kwargs arguments #945 2025-12-10 11:03:23 +01:00
ZipFile
abc79ef50f Fix Pydantic v2 deprecation warning triggering on settings class import 2025-12-06 17:45:15 +00:00
ZipFile
964d932673 Merge branch 'release/4.48.3' 2025-12-04 18:31:06 +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
Leonardus Chen
244deee75f
Retrofit assert_type for Aggregate and Callable (#935) 2025-11-15 11:00:23 +02: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
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
5a1aef9203 Merge branch 'release/4.48.2' 2025-09-19 10:03:34 +00: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
Okot Daniel
7df26d1ac7
docs(declarative.rst): fix grammar in Declarative Container documentation (#916)
fixes #915
2025-08-11 11:46:16 +03:00
ZipFile
2c0aede4aa Merge branch 'release/4.48.1' 2025-06-20 10:49:54 +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
9d6994391f Merge branch 'release/4.48.0' 2025-06-16 09:03:49 +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
ZipFile
67827a36d1 Fix mypy warnigns in containers.pyi 2025-06-01 18:46:30 +00:00
ZipFile
ceed6a8222 Add combine_as_imports = true isort option 2025-06-01 18:45:47 +00:00