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