code: def __init_subclass__(cls):
      cls._cls_types = {}
  
      for name, ty in cls.__annotations__.items():
          if ty == Dependency:
              cls._cls_deps[name] = getattr(cls, name)
          else:
              default = getattr(cls, name, ...)
              cls._cls_types[name] = ty, default
  
imports: import functools
  import inspect
  import itertools
  from operator import attrgetter
  from typing import Any
  from gluonts.pydantic import pydantic, deep_update
label_desc: Use image node_id 1 for calling the Settings obj's underlying member method code with example usage: obj.__init_subclass__(cls) without return types