class_docstr: Represents a resource requirement in an execution environment for an operator.
  
  :param name: Name of the resource
  :param units_str: The string representing the units of a resource (e.g. MB for a CPU
      resource) to be used for display purposes
  :param qty: The number of units of the specified resource that are required for
      execution of the operator.
code: def __eq__(self, other):
      if not isinstance(other, self.__class__):
          return NotImplemented
      return self.__dict__ == other.__dict__
  
imports: from __future__ import annotations
  from airflow.configuration import conf
  from airflow.exceptions import AirflowException
label_desc: Use image node_id 2 for calling the Resource obj's underlying member method code with example usage: obj.__eq__(other) and returns: unknown, NotImplemented