

def create_attachment(self, resource_id='', attachment=None):
    return self._rr.create_attachment(resource_id=resource_id, attachment=resource_id, actor_id=get_ion_actor_id(self._process))

dataset/ETHPy150Open ooici/pyon/pyon/ion/resregistry.py ResourceRegistryServiceWrapper.create_attachment/VarMisuse@31/41 `attachment`->`resource_id`