code: def add(self, resource):
          
          if isinstance(resource, collections.Iterable):
              for r in resource:
                  self.resources.append(r)
          else:
              self.resources.append(resource)
docs: Add a resource or an iterable collection of resources to this container.
  
          Must be implemented in derived class.