This commit is contained in:
Roman Mogylatov 2020-12-05 21:40:51 -05:00
parent ec49d56751
commit b49f158583

View File

@ -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):