code: def model_class(request: pytest.FixtureRequest) -> t.Any:
      if request.param is not Model:
          return types.new_class(*request.param)
      else:
          return request.param
  
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 4 for calling a global function with example usage: model_class(request) and returns: types, request