code: def test_basic_option(self, default_lazy):
      Address, addresses, users, User = (
          self.classes.Address,
          self.tables.addresses,
          self.tables.users,
          self.classes.User,
      )
  
      self.mapper_registry.map_imperatively(Address, addresses)
      self.mapper_registry.map_imperatively(
          User,
          users,
          properties={
              "addresses": relationship(Address, lazy=default_lazy)
          },
      )
      sess = fixture_session()
  
      result = (
          sess.query(User)
          .options(immediateload(User.addresses))
          .filter(users.c.id == 7)
          .all()
      )
      eq_(len(sess.identity_map), 2)
  
      sess.close()
  
      eq_(
          [
              User(
                  id=7,
                  addresses=[
                      Address(id=1, email_address="jack@bean.com")
                  ],
              )
          ],
          result,
      )
  
file_path: sqlalchemy/test/orm/test_immediate_load.py
imports: from sqlalchemy import select
  from sqlalchemy import testing
  from sqlalchemy.orm import immediateload
  from sqlalchemy.orm import relationship
  from sqlalchemy.orm import Session
  from sqlalchemy.testing import eq_
  from sqlalchemy.testing import is_
  from sqlalchemy.testing.fixtures import fixture_session
  from test.orm import _fixtures
label_desc: Use image node_id 1 for calling the ImmediateTest obj's underlying member method code with example usage: obj.test_basic_option(default_lazy) without return types