Why SimpleNamespace code completion does not work in pycharm editor?
from types import SimpleNamespace
sn= SimpleNamespace(param_a = '1')
sn. # pressing '.' dot I'm NOT offered param_a
This does work in pycharm python console, suggesting SimpleNamespace instance must be somehow 'computed' at runtime first. However if purpose of SimpleNamespace is to provide a namespace, to group a few parameters and access them via dot notation, then, while technically I can still type sn.param_a manually, without code completion is the whole thing stripped most of its usefulness and I'd likely switch to plain class where code completion does work in editor (class instantiated or not) Tried on different machines\pycharm versions so does not look like some quirk of my environment.