Skip to content

Commit a7de2dc

Browse files
Roman Mogylatovrmk135
Roman Mogylatov
authored andcommitted
Fix typing in wiring module
1 parent 344b4ec commit a7de2dc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

docs/main/changelog.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Development version
1111
-------------------
1212
- Implement providers' lazy initialization.
1313
- Improve providers' copying.
14+
- Improve typing in wiring module.
1415

1516
4.30.0
1617
------

src/dependency_injector/wiring.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -771,7 +771,7 @@ def call(self):
771771

772772
def modify(
773773
self,
774-
provider: providers.ConfigurationOption,
774+
provider: providers.Provider,
775775
providers_map: ProvidersMap,
776776
) -> providers.Provider:
777777
provider = provider.provided

0 commit comments

Comments
 (0)