Current collected state Current
Observed since 20 Oct, 17:15 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
Python ABC with a simple @abstract_property decorated checked after instantiation
Python ABC with a simple @abstract_property decorated checked after instantiation
Entirely based on this StackOverflow answer by krassowski.
from better_abc import BetterABC,abstract_property
class AbstractClassWithAbstractAttribute(BetterABC):
@abstract_property
def prop(self):
pass
otherprop = abstract_property()
class ClassWithProperty(AbstractClassWithAbstractAttribute)
def __init__(self,propvalue=12):
self.prop = 12
self.otherprop = "a string"
Download counts and popularity will appear here as the collector receives them.
| Version | Published | Direct dependencies | Open version |
|---|---|---|---|
| 1.0 | 10 Dec 2020 | 0 |
This describes our collected data; it is not a security assessment.
Observed since 20 Oct, 17:15 UTC
No superseded metadata states collected. Unchanged observations do not create new revisions.
package:fd73544b993ad31a177dc609efdc38e47eed2056643a4b535bff747b162fe7ca