From a3b91d9b4e6270c2d587739da15d288e7153811f Mon Sep 17 00:00:00 2001 From: Khaleel Al-Adhami Date: Wed, 29 Jan 2025 10:16:12 -0800 Subject: [PATCH] fix misisng types --- reflex/vars/base.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/reflex/vars/base.py b/reflex/vars/base.py index 0dbd6e481..0f39c0fdd 100644 --- a/reflex/vars/base.py +++ b/reflex/vars/base.py @@ -1579,7 +1579,7 @@ class cached_property: # noqa: N801 self._func = func self._attrname = None - def __set_name__(self, owner, name): + def __set_name__(self, owner: Any, name: str): """Set the name of the cached property. Args: @@ -1594,7 +1594,7 @@ class cached_property: # noqa: N801 original_del = getattr(owner, "__del__", None) - def delete_property(this): + def delete_property(this: Any): """Delete the cached property. Args: @@ -1621,7 +1621,7 @@ class cached_property: # noqa: N801 f"({self._attrname!r} and {name!r})." ) - def __get__(self, instance, owner=None): + def __get__(self, instance: Any, owner: Type | None = None): """Get the cached property. Args: