code: def test_methods(self, class_, expected):
      from typing import get_overloads
  
      overloads = get_overloads(getattr(class_, "execution_options"))
      eq_(len(overloads), 2)
      annotations = overloads[0].__annotations__.copy()
      annotations.pop("self", None)
      annotations.pop("return", None)
      eq_(annotations, expected)
      annotations = overloads[1].__annotations__.copy()
      annotations.pop("self", None)
      annotations.pop("return", None)
      eq_(annotations, {"opt": "Any"})
  
file_path: sqlalchemy/test/typing/test_overloads.py
imports: from sqlalchemy import testing
  from sqlalchemy.engine.base import Connection
  from sqlalchemy.engine.base import Engine
  from sqlalchemy.engine.interfaces import CoreExecuteOptionsParameter
  from sqlalchemy.ext.asyncio.engine import AsyncConnection
  from sqlalchemy.ext.asyncio.engine import AsyncEngine
  from sqlalchemy.orm._typing import OrmExecuteOptionsParameter
  from sqlalchemy.orm.query import Query
  from sqlalchemy.sql.base import Executable
  from sqlalchemy.testing import fixtures
  from sqlalchemy.testing.assertions import eq_
label_desc: Use image node_id 1 for calling the OverloadTest obj's underlying member method code with example usage: obj.test_methods(class_, expected) without return types