Currently, PClass exposed constructors of the form MyClass(**kwargs: Any).
If I want to support static type checking, I need a factory method. But if I want to prevent people from using the standard constructor, I need to overrde __init__. Is this a safe thing to do or might it break something?
Currently,
PClassexposed constructors of the formMyClass(**kwargs: Any).If I want to support static type checking, I need a factory method. But if I want to prevent people from using the standard constructor, I need to overrde
__init__. Is this a safe thing to do or might it break something?