From 69f5ed326a8a6eb5e0764bd9b60c3f59c7f3bf5d Mon Sep 17 00:00:00 2001 From: jasquat Date: Tue, 16 Jan 2024 13:25:35 -0500 Subject: [PATCH] default the category for a DataObject to None --- SpiffWorkflow/spiff/specs/data_object.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SpiffWorkflow/spiff/specs/data_object.py b/SpiffWorkflow/spiff/specs/data_object.py index f8657f06..86b5bf6b 100644 --- a/SpiffWorkflow/spiff/specs/data_object.py +++ b/SpiffWorkflow/spiff/specs/data_object.py @@ -1,6 +1,6 @@ from SpiffWorkflow.bpmn.specs.data_spec import DataObject as BpmnDataObject class DataObject(BpmnDataObject): - def __init__(self, category, *args, **kwargs): + def __init__(self, category=None, *args, **kwargs): super().__init__(*args, **kwargs) self.category = category