@extract_id(Item)<EOL><INDENT>def update(self, item, variant):<DEDENT>
return VariantRequest(self).put(item, variant)<EOL>
Update one or more variants.

:param item: Item object or id
:param variant: Variant object or list of objects