dang it darglint
This commit is contained in:
parent
690d53f21b
commit
c9604b7a02
@ -52,6 +52,7 @@ class Foreach(Component):
|
|||||||
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.
|
TypeError: If the render function is a ComponentState.
|
||||||
|
UntypedVarError: If the iterable is of type Any without a type annotation.
|
||||||
"""
|
"""
|
||||||
iterable = LiteralVar.create(iterable)
|
iterable = LiteralVar.create(iterable)
|
||||||
if iterable._var_type == Any:
|
if iterable._var_type == Any:
|
||||||
|
@ -1201,6 +1201,7 @@ class Var(Generic[VAR_TYPE]):
|
|||||||
|
|
||||||
Raises:
|
Raises:
|
||||||
VarAttributeError: If the attribute does not exist.
|
VarAttributeError: If the attribute does not exist.
|
||||||
|
UntypedVarError: If the var type is Any.
|
||||||
TypeError: If the var type is Any.
|
TypeError: If the var type is Any.
|
||||||
|
|
||||||
# noqa: DAR101 self
|
# noqa: DAR101 self
|
||||||
|
Loading…
Reference in New Issue
Block a user