code: def test_inherit_parent(db: SQLAlchemy) -> None:
      class User(db.Model):
          __bind_key__ = "auth"
          id = sa.Column(sa.Integer, primary_key=True)
          type = sa.Column(sa.String)
          __mapper_args__ = {
              "polymorphic_on": type,
              "polymorphic_identity": "user",
          }
  
      class Admin(User):
          id = sa.Column(
              sa.Integer, sa.ForeignKey(User.id), primary_key=True
          )
          __mapper_args__ = {"polymorphic_identity": "admin"}
  
      assert "admin" in db.metadatas["auth"].tables
      # inherits metadata, doesn't set it directly
      assert "metadata" not in Admin.__dict__
  
file_path: flask-sqlalchemy/tests/test_model_bind.py
imports: from __future__ import annotations
  import sqlalchemy
  from flask_sqlalchemy import SQLAlchemy
label_desc: Use image node_id 4 for calling a global function with example usage: test_inherit_parent(db) without return types