code: def __init_subclass__(
      cls, *, resource_id: str
  ):  # pylint: disable=arguments-differ
      _RESOURCE_REGISTRY[resource_id] = cls
  
imports: from __future__ import annotations
  import functools
  import logging
  import math
  import os
  import re
  import typing
  from abc import ABC
  from abc import abstractmethod
  import psutil
  from ..exceptions import BentoMLConfigException
label_desc: Use image node_id 1 for calling the Resource obj's underlying member method code with example usage: obj.__init_subclass__(cls) without return types