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