From be92063421ec08958e89fa8ee063f761a224df3f Mon Sep 17 00:00:00 2001 From: Khaleel Al-Adhami Date: Fri, 17 Jan 2025 18:21:28 -0800 Subject: [PATCH] dang it darglint --- reflex/components/core/foreach.py | 1 - reflex/vars/sequence.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/reflex/components/core/foreach.py b/reflex/components/core/foreach.py index 4b6192e0b..c032727bb 100644 --- a/reflex/components/core/foreach.py +++ b/reflex/components/core/foreach.py @@ -32,7 +32,6 @@ def foreach( Raises: ForeachVarError: If the iterable is of type Any. - TypeError: If the render function is a ComponentState. """ iterable = LiteralVar.create(iterable) if isinstance(iterable, ObjectVar): diff --git a/reflex/vars/sequence.py b/reflex/vars/sequence.py index 5b7c1bfb6..1f56216a5 100644 --- a/reflex/vars/sequence.py +++ b/reflex/vars/sequence.py @@ -988,6 +988,7 @@ class ArrayVar(Var[ARRAY_VAR_TYPE], python_types=(Sequence, set)): Raises: VarTypeError: If the function takes more than one argument. + TypeError: If the function is a ComponentState. """ from reflex.state import ComponentState