def update(self, id, **dict):
if not self._item_path:<EOL><INDENT>raise AttributeError('<STR_LIT>' % self._item_name)<EOL><DEDENT>target = (self._update_path or self._item_path) % id<EOL>payload = json.dumps({self._item_type:dict})<EOL>self._redmine.put(target, payload)<EOL>return None<EOL>
Update a given item with the passed data.