Open keithmanville opened 1 month ago
Implement a new EntityType dataclass that encapsulates constants associated with Dioptra Resources.
EntityType
The implementation may look something like this.
@dataclass class EntityType: name: str key: str id: int QUEUE_TYPE = EntityType("Queue", "queue", 1) EXPERIMENT_TYPE = EntityType("Experiment", "experiment", 2) PLUGIN_FILE_TYPE = EntityType("Plug-in File", "plugin_file", 3)
Implement a new
EntityType
dataclass that encapsulates constants associated with Dioptra Resources.The implementation may look something like this.
Definition of done