def METHOD_NAME(self, rsrc):
    """Add a resource to an experiment.
    This does two things:
    1. Establishes an "experiment" type of relationship between the
       new resource and the experiment.
    2. Adds the resource to the DMF
    Args:
        rsrc (resource.Resource): The resource to add.
    Returns:
        resource.Resource: Added (input) resource, for chaining calls.
    """
    resource.create_relation(self, Predicates.contains, rsrc)
    self._dmf.update(rsrc, upsert=True)
    self._dmf.update(self)