fix doc strings
This commit is contained in:
parent
781e7faee9
commit
3c5ca0c90b
|
@ -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()
|
||||
|
|
|
@ -28,7 +28,8 @@ class ProcessModelService(FileSystemService):
|
|||
|
||||
@staticmethod
|
||||
def get_batch(items, page=1, per_page=10):
|
||||
start = (page - 1) * per_page
|
||||
"""Get_batch."""
|
||||
start = (page - 1) * per_page
|
||||
end = start + per_page
|
||||
return items[start:end]
|
||||
|
||||
|
@ -87,7 +88,7 @@ class ProcessModelService(FileSystemService):
|
|||
return self.__scan_spec(path, FileSystemService.MASTER_SPECIFICATION)
|
||||
|
||||
def get_process_model(self, process_model_id, group_id=None):
|
||||
"""Get a process model from a model and group id"""
|
||||
"""Get a process model from a model and group id."""
|
||||
if not os.path.exists(FileSystemService.root_path()):
|
||||
return # Nothing to scan yet. There are no files.
|
||||
|
||||
|
|
|
@ -231,7 +231,7 @@ def test_process_group_update(
|
|||
def test_process_group_list(
|
||||
app: Flask, client: FlaskClient, with_bpmn_file_cleanup: None
|
||||
) -> None:
|
||||
|
||||
"""Test_process_group_list."""
|
||||
# add 5 groups
|
||||
user = find_or_create_user()
|
||||
for i in range(5):
|
||||
|
|
Loading…
Reference in New Issue