mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-15 10:47:49 -06:00
Added a model to represent a cluster
This commit is contained in:
parent
d8232caec0
commit
908628e2aa
2 changed files with 29 additions and 14 deletions
11
plugins/UM3NetworkPrinting/src/Cloud/Models.py
Normal file
11
plugins/UM3NetworkPrinting/src/Cloud/Models.py
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Copyright (c) 2018 Ultimaker B.V.
|
||||
# Cura is released under the terms of the LGPLv3 or higher.
|
||||
from collections import namedtuple
|
||||
|
||||
Cluster = namedtuple("Cluster", [
|
||||
"cluster_id", # Type: str
|
||||
"host_guid", # Type: str
|
||||
"host_name", # Type: str
|
||||
"host_version", # Type: str
|
||||
"status", # Type: str
|
||||
])
|
Loading…
Add table
Add a link
Reference in a new issue