code: def app(request: pytest.FixtureRequest, tmp_path: Path) -> Flask:
      app = Flask(
          request.module.__name__,
          instance_path=str(tmp_path / "instance"),
      )
      app.config["SQLALCHEMY_DATABASE_URI"] = "sqlite://"
      app.config["SQLALCHEMY_RECORD_QUERIES"] = False
      return app
  
file_path: flask-sqlalchemy/tests/conftest.py
imports: from __future__ import annotations
  import types
  import typing
  from pathlib import Path
  import pytest
  import sqlalchemy
  import sqlalchemy.orm
  from flask import Flask
  from flask.ctx import AppContext
  from flask_sqlalchemy import SQLAlchemy
  from flask_sqlalchemy.model import Model
label_desc: Use image node_id 1 for calling a global function with example usage: app(request, tmp_path) and returns: app