Update src/app/api/wrapper_handler.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
fb6ca5914d
commit
c1ed1d85f0
@@ -160,8 +160,6 @@ class WrapperHandler(Generic[WrapperType]):
|
|||||||
|
|
||||||
result: list[WrapperClassType] = []
|
result: list[WrapperClassType] = []
|
||||||
for wrapper_class in constructors:
|
for wrapper_class in constructors:
|
||||||
if filters and wrapper_class.__name__ not in filters:
|
|
||||||
continue
|
|
||||||
try:
|
try:
|
||||||
wrapper = wrapper_class(**(kwargs or {}))
|
wrapper = wrapper_class(**(kwargs or {}))
|
||||||
result.append(wrapper)
|
result.append(wrapper)
|
||||||
|
|||||||
Reference in New Issue
Block a user