code: def get_model_config(self):
          
          if not hasattr(self, '__config'):
              setattr(self, '__config', models_config.get_config(self.get_model_class()))
          return getattr(self, '__config', None)
docs: Get Trionyx model config