mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-13 09:47:50 -06:00
STAR-322: Checking if response changed before updating cluster
This commit is contained in:
parent
2b8358fda8
commit
5b963de2ea
13 changed files with 58 additions and 30 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue