Skip to content

Commit 0ac6e3e

Browse files
fix darglint, document exception for hybrid_property
1 parent 34e67ed commit 0ac6e3e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

reflex/experimental/hybrid_property.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ def __get__(self, instance: Any, owner: type | None = None, /) -> Any:
2323
2424
Returns:
2525
The value of the property or a frontend Var.
26+
27+
Raises:
28+
AttributeError: If the property has no getter function and no var function is set.
2629
"""
2730
if instance is not None:
2831
return super().__get__(instance, owner)

0 commit comments

Comments
 (0)