code: def import_object(name: str) -> Any:
      """Imports an object by name.
  
      ``import_object('x')`` is equivalent to ``import x``.
      ``import_object('x.y.z')`` is equivalent to ``from x.y import z``.
  
      >>> import tornado.escape
      >>> import_object('tornado.escape') is tornado.escape
      True
      >>> import_object('tornado.escape.utf8') is tornado.escape.utf8
      True
      >>> import_object('tornado') is tornado
      True
      >>> import_object('tornado.missing_module')
      Traceback (most recent call last):
          ...
      ImportError: No module named missing_module
      """
      if name.count(".") == 0:
          return __import__(name)
  
      parts = name.split(".")
      obj = __import__(".".join(parts[:-1]), fromlist=[parts[-1]])
      try:
          return getattr(obj, parts[-1])
      except AttributeError:
          raise ImportError("No module named %s" % parts[-1])
  
imports: import array
  import asyncio
  import atexit
  from inspect import getfullargspec
  import os
  import re
  import typing
  import zlib
  from typing import Any, Optional, Dict, Mapping, List, Tuple, Match, Callable, Type, Sequence
label_desc: Use image node_id 1 for calling a global function with example usage: import_object(name) and returns: __import__, getattr