edutap.wallet_google.api.update#

edutap.wallet_google.api.update(data: Model, *, partial: bool = True) Model#

Updates a Google Wallet Class or Object. U in CRUD.

Parameters:
  • data – Data to pass to the Google RESTful API. A model instance, has to be a registered model.

  • partial – Whether a partial update is executed or a full replacement.

Raises:
  • LookupError – When the resource was not found (404)

  • Exception – When the response status code is not 200 or 404

Returns:

The created model based on the data returned by the Restful API