docs: def load_model_data(self, path, model):
          """Loads the data for the specified model from the given path.
          """
          if os.path.isdir(path):
              # try find a model data collection
              if os.path.isfile(os.path.join(path, '_all.yml')):
                  self.load_model_data_collection(path, model)
              self.load_model_data_from_files(path, model)
              self.session.commit()