We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
postinit
Adds a call to __postinit__ method after __init__ call was completed
__postinit__
__init__
from pyuseful.decorators.postinit import postinit @postinit class Test: def __init__(self): self.a = 1 print("init") def __postinit__(self): print(self.a) print("postinit") t = Test()
There was an error while loading. Please reload this page.