3c30fabdd9
and setters) to masquerade as regular attributes. This makes it possible to provide transparent APIs for classes that need to cache results, lazily load data, maintain invariants, or react in any other way to attribute access. Unfortunately, making a property requires an annoying amount of boilerplate code. There are a few ways to do it, but the most common and most succinct requires you to decorate two functions (with two different decorators) and to type the name of the attribute three times: WWW: https://pypi.org/project/autoprop/
3 lines
158 B
Text
3 lines
158 B
Text
TIMESTAMP = 1584714989
|
|
SHA256 (autoprop-1.0.1.tar.gz) = 012b74405dc02c7527366d351bb85397b8964446b601c956594e4eae405837da
|
|
SIZE (autoprop-1.0.1.tar.gz) = 14685
|