structure opened this issue on Jun 27, 2019 ยท 94 posts
adp001 posted Sat, 16 May 2020 at 8:45 AM
Class "MyGeom" is actually a dict. But in my case it is what I mentioned before:
class MyGeom(dict):
def __getattr__(self, item):
if not item.startswith("_") and item in self:
return self.get(item)
return super(self.__class__, self).__getattribute__(item)