fix python docstrings

This commit is contained in:
mike cullerton 2022-06-10 12:50:29 -04:00
parent c3697e1a3f
commit 785b7f17ed
3 changed files with 2 additions and 4 deletions

View File

@ -53,7 +53,7 @@ def process_group_delete(process_group_id):
def process_group_update(process_group_id, body):
"""Process Group Update"""
"""Process Group Update."""
process_group = ProcessGroupSchema().load(body)
ProcessModelService().update_process_group(process_group)
return ProcessGroupSchema().dump(process_group)

View File

@ -49,7 +49,6 @@ class Script:
We may be able to remove the task for each of these calls if we are not using it other than potentially
updating the task data.
"""
def make_closure(subclass, task, workflow_id):
"""Yes - this is black magic.
@ -85,7 +84,6 @@ class Script:
We may be able to remove the task for each of these calls if we are not using it other than potentially
updating the task data.
"""
def make_closure_validate(subclass, task, workflow_id):
"""Make_closure_validate."""
instance = subclass()

View File

@ -130,7 +130,7 @@ def test_process_group_delete(app, client: FlaskClient, with_bpmn_file_cleanup):
def test_process_group_update(app, client: FlaskClient, with_bpmn_file_cleanup):
"""Test Process Group Update"""
"""Test Process Group Update."""
group_id = 'test_process_group'
group_display_name = 'Test Group'