mirror of
https://github.com/langgenius/dify.git
synced 2026-09-24 23:22:26 +08:00
feat: Support selecting variables in conditional filtering in list operations. (#23029)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: crazywoola <427733928@qq.com>
This commit is contained in:
co-authored by
crazywoola
Copilot
crazywoola
parent
ee731c7810
commit
f72c03a174
@@ -299,7 +299,7 @@ def _endswith(value: str) -> Callable[[str], bool]:
|
||||
|
||||
|
||||
def _is(value: str) -> Callable[[str], bool]:
|
||||
return lambda x: x is value
|
||||
return lambda x: x == value
|
||||
|
||||
|
||||
def _in(value: str | Sequence[str]) -> Callable[[str], bool]:
|
||||
|
||||
Reference in New Issue
Block a user