docstr: Saved Query API: Test get list and schema saved query
code: def test_get_list_filter_schema_saved_query(self):
      """
      Saved Query API: Test get list and schema saved query
      """
      schema_name = "schema1"
      admin_user = self.get_user("admin")
  
      all_db_queries = (
          db.session.query(SavedQuery)
          .filter(SavedQuery.schema == schema_name)
          .filter(SavedQuery.created_by_fk == admin_user.id)
          .all()
      )
  
      self.login(username="admin")
      query_string = {
          "filters": [
              {"col": "schema", "opr": "eq", "value": schema_name}
          ],
      }
      uri = f"api/v1/saved_query/?q={prison.dumps(query_string)}"
      rv = self.get_assert_metric(uri, "get_list")
      assert rv.status_code == 200
      data = json.loads(rv.data.decode("utf-8"))
      assert data["count"] == len(all_db_queries)
  
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 9 for calling the TestSavedQueryApi obj's underlying member method code with example usage: obj.test_get_list_filter_schema_saved_query() without return types