dang it darglint

This commit is contained in:
Khaleel Al-Adhami 2025-01-29 17:01:57 -08:00
parent 690d53f21b
commit c9604b7a02
2 changed files with 2 additions and 0 deletions

View File

@ -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:

View File

@ -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