Source code for pytorch_forecasting.utils._classproperty

"""A class property decorator."""


[docs] class classproperty(property): def __get__(self, obj, cls): return self.fget(cls)