From 393fba46962a128f40cfcc099df54f2fe79d2250 Mon Sep 17 00:00:00 2001 From: Lendemor Date: Wed, 22 Jan 2025 21:12:44 +0100 Subject: [PATCH] add missing annotations --- reflex/utils/exceptions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reflex/utils/exceptions.py b/reflex/utils/exceptions.py index d35643753..46fae0e4d 100644 --- a/reflex/utils/exceptions.py +++ b/reflex/utils/exceptions.py @@ -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: