mirror of
https://github.com/ets-labs/python-dependency-injector.git
synced 2024-11-22 01:26:51 +03:00
Fix bug #331
This commit is contained in:
parent
ec49d56751
commit
b49f158583
|
@ -336,7 +336,7 @@ def _fetch_reference_injections(
|
|||
if _is_fastapi_depends(marker):
|
||||
marker = marker.dependency
|
||||
|
||||
if not isinstance(marker, providers.Provider):
|
||||
if not isinstance(marker, _Marker):
|
||||
continue
|
||||
|
||||
if isinstance(marker, Closing):
|
||||
|
|
Loading…
Reference in New Issue
Block a user