STAR-322: Checking if response changed before updating cluster

This commit is contained in:
Daniel Schiavini 2018-12-07 13:19:45 +01:00
parent 2b8358fda8
commit 5b963de2ea
13 changed files with 58 additions and 30 deletions

View file

@ -2,11 +2,11 @@
# Cura is released under the terms of the LGPLv3 or higher.
from typing import Dict
from ...Models import BaseModel
from .BaseCloudModel import BaseCloudModel
## Class representing errors generated by the cloud servers, according to the json-api standard.
class CloudErrorObject(BaseModel):
class CloudErrorObject(BaseCloudModel):
def __init__(self, **kwargs) -> None:
self.id = None # type: str
self.code = None # type: str