code: def set_resource(resource_name, capacity, node_id=None):
      raise DeprecationWarning(
          "Dynamic custom resources are deprecated. Consider using placement "
          "groups instead (docs.ray.io/en/master/placement-group.html). You "
          "can also specify resources at Ray start time with the 'resources' "
          "field in the cluster autoscaler."
      )
  
label_desc: Use image node_id 1 for calling a global function with example usage: set_resource(resource_name, capacity, node_id) without return types