Added a model to represent a cluster

This commit is contained in:
Marijn Deé 2018-11-26 10:47:53 +01:00
parent d8232caec0
commit 908628e2aa
2 changed files with 29 additions and 14 deletions

View 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
])