docs: added auto-generation of documentation
ref: N25B-270
This commit is contained in:
@@ -45,7 +45,13 @@ class State(object):
|
||||
|
||||
def __getattribute__(self, name):
|
||||
# Enforce that the state is initialized before accessing any property (aside from the basic ones)
|
||||
if name in ("initialize", "deinitialize", "is_initialized", "__dict__", "__class__"):
|
||||
if name in (
|
||||
"initialize",
|
||||
"deinitialize",
|
||||
"is_initialized",
|
||||
"__dict__",
|
||||
"__class__",
|
||||
"__doc__"):
|
||||
return object.__getattribute__(self, name)
|
||||
|
||||
if not object.__getattribute__(self, "is_initialized"):
|
||||
|
||||
Reference in New Issue
Block a user