classproperty¶
- class baybe.utils.basic.classproperty[source]¶
Bases:
object
A decorator to make class properties.
A class property combines the characteristics of @property and @classmethod. The simple chaining of these two existing decorators is deprecated (https://docs.python.org/3.11/whatsnew/3.11.html#language-builtins) and causes mypy issues.
Public methods
__init__
(fn)