code: def get_models(self):
      models = {}
      for p in self.db.Predictor.query.all():
          models[p.id] = p
      return models
  
imports: from unittest.mock import patch
  import datetime
  import time
  import pytest
  import pandas
  from mindsdb_sql import parse_sql
  from .executor_test_base import BaseExecutorDummyML
label_desc: Use image node_id 3 for calling the TestProjectStructure obj's underlying member method code with example usage: obj.get_models() and returns: models