fix: handle empty string passed to filters

This commit is contained in:
Faris Ansari 2023-01-16 14:11:37 +05:30
parent a93380ac9c
commit 52e3d8d58b

View file

@ -98,7 +98,7 @@ class Engine:
self,
filters: dict[str, str | int] | str | int | list[list | str | int] | None = None,
):
if not filters:
if filters is None:
return
if isinstance(filters, (str, int)):