Skip to content

Commit

Permalink
remove old @unsupported_prop decorator
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasjuhrich committed Sep 28, 2023
1 parent b7d63aa commit 8d6dabd
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions sipa/model/fancy_property.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,17 +127,6 @@ def __repr__(self):
)


def unsupported_prop(func):
import warnings

warnings.warn(
"unsupported_prop is deprecated. directly return UnsupportedProperty instead.",
DeprecationWarning,
stacklevel=2,
)
return property(lambda self: UnsupportedProperty(name=func.__name__))


def connection_dependent(func):
"""A decorator to “deactivate” the property if the user's not active."""

Expand Down

0 comments on commit 8d6dabd

Please sign in to comment.