We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 69d57af commit 34e67edCopy full SHA for 34e67ed
1 file changed
reflex/experimental/hybrid_property.py
@@ -31,7 +31,8 @@ def __get__(self, instance: Any, owner: type | None = None, /) -> Any:
31
return self._var(owner)
32
# Call the property getter function if no custom var function is set
33
if self.fget is None:
34
- raise AttributeError("HybridProperty has no getter function")
+ msg = "HybridProperty has no getter function"
35
+ raise AttributeError(msg)
36
return self.fget(owner)
37
38
def var(self, func: Callable[[Any], Var]) -> Self:
0 commit comments