code: def submit(  # type: ignore[override]
      self, fn: Callable[..., _T], *args: Any, **kwargs: Any
  ) -> "futures.Future[_T]":
      future = futures.Future()  # type: futures.Future[_T]
      try:
          future_set_result_unless_cancelled(
              future, fn(*args, **kwargs)
          )
      except Exception:
          future_set_exc_info(future, sys.exc_info())
      return future
  
imports: import asyncio
  from concurrent import futures
  import functools
  import sys
  import types
  from tornado.log import app_log
  import typing
  from typing import Any, Callable, Optional, Tuple, Union
label_desc: Use image node_id 1 for calling the DummyExecutor obj's underlying member method code with example usage: obj.submit(fn) and returns: future