add missing annotations
This commit is contained in:
parent
0ec0ef6b3f
commit
393fba4696
@ -78,7 +78,7 @@ class VarAttributeError(ReflexError, AttributeError):
|
|||||||
class UntypedComputedVarError(ReflexError, TypeError):
|
class UntypedComputedVarError(ReflexError, TypeError):
|
||||||
"""Custom TypeError for untyped computed var errors."""
|
"""Custom TypeError for untyped computed var errors."""
|
||||||
|
|
||||||
def __init__(self, var_name):
|
def __init__(self, var_name: str):
|
||||||
"""Initialize the UntypedComputedVarError.
|
"""Initialize the UntypedComputedVarError.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
@ -90,7 +90,7 @@ class UntypedComputedVarError(ReflexError, TypeError):
|
|||||||
class MissingAnnotationError(ReflexError, TypeError):
|
class MissingAnnotationError(ReflexError, TypeError):
|
||||||
"""Custom TypeError for missing annotations."""
|
"""Custom TypeError for missing annotations."""
|
||||||
|
|
||||||
def __init__(self, var_name):
|
def __init__(self, var_name: str):
|
||||||
"""Initialize the MissingAnnotationError.
|
"""Initialize the MissingAnnotationError.
|
||||||
|
|
||||||
Args:
|
Args:
|
||||||
|
Loading…
Reference in New Issue
Block a user