code: def create_saved_query_import(self):
      buf = BytesIO()
      with ZipFile(buf, "w") as bundle:
          with bundle.open(
              "saved_query_export/metadata.yaml", "w"
          ) as fp:
              fp.write(
                  yaml.safe_dump(saved_queries_metadata_config).encode()
              )
          with bundle.open(
              "saved_query_export/databases/imported_database.yaml", "w"
          ) as fp:
              fp.write(yaml.safe_dump(database_config).encode())
          with bundle.open(
              "saved_query_export/queries/imported_database/public/imported_saved_query.yaml",
              "w",
          ) as fp:
              fp.write(yaml.safe_dump(saved_queries_config).encode())
      buf.seek(0)
      return buf
  
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 35 for calling the TestSavedQueryApi obj's underlying member method code with example usage: obj.create_saved_query_import() and returns: buf