code: def __init__(self, resource_id, resource, rate):
      self.resource_id = resource_id
      self.resource = resource
      product, version = resource.rsplit("/", maxsplit=1)
      self.product = product
      self.version = version
      self.rate = rate
  
imports: import asyncio
  from gear import Database
label_desc: Use image node_id 2 to create a new Resource object  with example: obj = Resource(resource_id, resource, rate)