add missing annotations

This commit is contained in:
Lendemor 2025-01-22 21:12:44 +01:00
parent 0ec0ef6b3f
commit 393fba4696

View File

@ -78,7 +78,7 @@ class VarAttributeError(ReflexError, AttributeError):
class UntypedComputedVarError(ReflexError, TypeError):
"""Custom TypeError for untyped computed var errors."""
def __init__(self, var_name):
def __init__(self, var_name: str):
"""Initialize the UntypedComputedVarError.
Args:
@ -90,7 +90,7 @@ class UntypedComputedVarError(ReflexError, TypeError):
class MissingAnnotationError(ReflexError, TypeError):
"""Custom TypeError for missing annotations."""
def __init__(self, var_name):
def __init__(self, var_name: str):
"""Initialize the MissingAnnotationError.
Args: