code: def insert_resources(self, resources):
          
  
          for res, value in resources:
              self.insert(res, value)
docs: insert_resources(resources)
  
          Insert all resources entries in the list RESOURCES into the
          database.  Each element in RESOURCES should be a tuple:
  
            (resource, value)
  
          Where RESOURCE is a string and VALUE can be any Python value.