dang it darglint
This commit is contained in:
parent
5d6b51c561
commit
be92063421
@ -32,7 +32,6 @@ def foreach(
|
|||||||
|
|
||||||
Raises:
|
Raises:
|
||||||
ForeachVarError: If the iterable is of type Any.
|
ForeachVarError: If the iterable is of type Any.
|
||||||
TypeError: If the render function is a ComponentState.
|
|
||||||
"""
|
"""
|
||||||
iterable = LiteralVar.create(iterable)
|
iterable = LiteralVar.create(iterable)
|
||||||
if isinstance(iterable, ObjectVar):
|
if isinstance(iterable, ObjectVar):
|
||||||
|
@ -988,6 +988,7 @@ class ArrayVar(Var[ARRAY_VAR_TYPE], python_types=(Sequence, set)):
|
|||||||
|
|
||||||
Raises:
|
Raises:
|
||||||
VarTypeError: If the function takes more than one argument.
|
VarTypeError: If the function takes more than one argument.
|
||||||
|
TypeError: If the function is a ComponentState.
|
||||||
"""
|
"""
|
||||||
from reflex.state import ComponentState
|
from reflex.state import ComponentState
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user