Explorar o código

fix Var.contains pyi (#3663)

benedikt-bartscher hai 10 meses
pai
achega
dc33d208b4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      reflex/vars.pyi

+ 1 - 1
reflex/vars.pyi

@@ -118,7 +118,7 @@ class Var:
     def __or__(self, other: Var) -> Var: ...
     def __ror__(self, other: Var) -> Var: ...
     def __contains__(self, _: Any) -> Var: ...
-    def contains(self, other: Any) -> Var: ...
+    def contains(self, other: Any, field: Union[Var, None] = None) -> Var: ...
     def reverse(self) -> Var: ...
     def foreach(self, fn: Callable) -> Var: ...
     @classmethod