code: def fixup_windows_event_loop_policy() -> None:
      if (
          sys.platform == "win32"
          and sys.version_info[:3] >= (3, 8, 0)
          and tornado.version_info < (6, 1)
      ):
          import asyncio
  
          if (
              type(asyncio.get_event_loop_policy())
              is asyncio.WindowsProactorEventLoopPolicy
          ):
              # WindowsProactorEventLoopPolicy is not compatible with tornado 6
              # fallback to the pre-3.8 default of WindowsSelectorEventLoopPolicy
              asyncio.set_event_loop_policy(
                  asyncio.WindowsSelectorEventLoopPolicy()
              )
  
imports: from __future__ import annotations
  import logging
  import sys
  import threading
  from collections import defaultdict
  from traceback import format_exception
  from typing import TYPE_CHECKING, Any, Awaitable, Callable, Union
  import tornado
  from tornado import gen
  from ..core.types import ID
label_desc: Use image node_id 1 for calling a global function with example usage: fixup_windows_event_loop_policy() without return types