def create(self, body, **kwargs):
        try:
            ret = self.client.post(self.resource_type, body, **kwargs)
            self.client.changed = True
        except HttpError as htErr:
            try:
                # If we can't create the item,  try and return
                # The item with the same name
                ret = self.resource_by_name[args['name']]
            except __HOLE__:
                raise htErr
        return ret
dataset/ETHPy150Open girder/girder/clients/ansible/girder.py/Resource.create