How to set a python property in __init__ June 9, 2023 by Tarik I do not see any real problem with your code. In __init__, the class is fully created and thus the properties accessible.