mirror of
https://github.com/arcan1s/ahriman.git
synced 2026-10-17 02:12:16 +00:00
use cached property instead of custom __getattr__ implementation
This commit is contained in:
1 parent
3ad6cd27c6
commit
e3347aec2d
8 files changed
+36
-53
No files matched your search
@@ -102,6 +102,9 @@ Again, the most checks can be performed by `make check` command, though some add
|
||||
|
||||
@property
|
||||
def property(self) -> Any: ...
|
||||
|
||||
@cached_property
|
||||
def property_cached(self) -> Any: ... # cached property has to be treated as normal one
|
||||
|
||||
@classmethod
|
||||
def class_method(cls) -> Self: ...
|
||||
|
||||
Reference in new issue
Block a user