code: def create_saved_queries(self):
      with self.create_app().app_context():
          saved_queries = []
          admin = self.get_user("admin")
          for cx in range(SAVED_QUERIES_FIXTURE_COUNT - 1):
              saved_queries.append(
                  self.insert_default_saved_query(
                      label=f"label{cx}", schema=f"schema{cx}"
                  )
              )
          saved_queries.append(
              self.insert_default_saved_query(
                  label=f"label{SAVED_QUERIES_FIXTURE_COUNT}",
                  schema=f"schema{SAVED_QUERIES_FIXTURE_COUNT}",
                  username="gamma_sqllab",
              )
          )
  
          fav_saved_queries = []
          for cx in range(round(SAVED_QUERIES_FIXTURE_COUNT / 2)):
              fav_star = FavStar(
                  user_id=admin.id,
                  class_name="query",
                  obj_id=saved_queries[cx].id,
              )
              db.session.add(fav_star)
              db.session.commit()
              fav_saved_queries.append(fav_star)
  
          yield saved_queries
  
          # rollback changes
          for saved_query in saved_queries:
              db.session.delete(saved_query)
          for fav_saved_query in fav_saved_queries:
              db.session.delete(fav_saved_query)
          db.session.commit()
  
imports: import json
  from datetime import datetime
  from io import BytesIO
  from typing import Optional
  from zipfile import is_zipfile, ZipFile
  import yaml
  import pytest
  import prison
  from freezegun import freeze_time
  from sqlalchemy.sql import func, and_
  import tests.integration_tests.test_app
  from superset import db
  from superset.models.core import Database
  from superset.models.core import FavStar
  from superset.models.sql_lab import SavedQuery
  from superset.utils.database import get_example_database
  from tests.integration_tests.base_tests import SupersetTestCase
  from tests.integration_tests.fixtures.importexport import database_config, saved_queries_config, saved_queries_metadata_config
label_desc: Use image node_id 3 for calling the TestSavedQueryApi obj's underlying member method code with example usage: obj.create_saved_queries() without return types