code: def test_9669_of_type() -> None:
      ba = aliased(B)
      select(A).options(selectinload(A.bs.of_type(ba)))
  
file_path: sqlalchemy/test/typing/plain_files/orm/orm_querying.py
imports: from __future__ import annotations
  from sqlalchemy import ForeignKey
  from sqlalchemy import orm
  from sqlalchemy import select
  from sqlalchemy.orm import aliased
  from sqlalchemy.orm import DeclarativeBase
  from sqlalchemy.orm import Mapped
  from sqlalchemy.orm import mapped_column
  from sqlalchemy.orm import relationship
  from sqlalchemy.orm import selectinload
label_desc: Use image node_id 2 for calling a global function with example usage: test_9669_of_type() without return types