code: def _get_session(self, session: SessionType = None):
      if session is None:
          for item in self:
              session = _get_session(item, session)
              if session is not None:
                  return session
      return session
  
imports: import asyncio
  import atexit
  import concurrent.futures
  import queue
  import threading
  from typing import List
  from weakref import WeakKeyDictionary, ref
  from ...lib.aio import get_isolation
  from ...typing import SessionType, TileableType
  from ..mode import enter_mode
label_desc: Use image node_id 10 for calling the ExecutableTuple obj's underlying member method code with example usage: obj._get_session(session) and returns: session, session