add missing annotations
This commit is contained in:
parent
0ec0ef6b3f
commit
393fba4696
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user