From e836242f10a593ca15981f7e623b132585861e34 Mon Sep 17 00:00:00 2001 From: mike cullerton Date: Mon, 26 Apr 2021 08:52:12 -0400 Subject: [PATCH] Added standalone argument when adding a workflow_spec --- example_data.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/example_data.py b/example_data.py index f3918846..bc7c438c 100644 --- a/example_data.py +++ b/example_data.py @@ -266,7 +266,7 @@ class ExampleDataLoader: from_tests=True) def create_spec(self, id, name, display_name="", description="", filepath=None, master_spec=False, - category_id=None, display_order=None, from_tests=False): + category_id=None, display_order=None, from_tests=False, standalone=False): """Assumes that a directory exists in static/bpmn with the same name as the given id. further assumes that the [id].bpmn is the primary file for the workflow. returns an array of data models to be added to the database.""" @@ -278,7 +278,8 @@ class ExampleDataLoader: description=description, is_master_spec=master_spec, category_id=category_id, - display_order=display_order) + display_order=display_order, + standalone=standalone) db.session.add(spec) db.session.commit() if not filepath and not from_tests: