diff --git a/migrations/env.py b/migrations/env.py index 68feded2..630e381a 100644 --- a/migrations/env.py +++ b/migrations/env.py @@ -1,5 +1,3 @@ -from __future__ import with_statement - import logging from logging.config import fileConfig diff --git a/src/instance/config.py b/src/instance/config.py index 3c7a6af9..7c254351 100644 --- a/src/instance/config.py +++ b/src/instance/config.py @@ -1,2 +1,2 @@ -"""config.""" +"""Config.""" BPMN_SPEC_ABSOLUTE_DIR = "BPMN_SPECS_DEV" diff --git a/src/spiffworkflow_backend/routes/process_api_blueprint.py b/src/spiffworkflow_backend/routes/process_api_blueprint.py index 8132b10a..d3a30b35 100644 --- a/src/spiffworkflow_backend/routes/process_api_blueprint.py +++ b/src/spiffworkflow_backend/routes/process_api_blueprint.py @@ -10,11 +10,11 @@ from flask_bpmn.api.api_error import ApiError from spiffworkflow_backend.models.file import FileSchema from spiffworkflow_backend.models.file import FileType +from spiffworkflow_backend.models.principal import PrincipalModel from spiffworkflow_backend.models.process_group import ProcessGroupSchema from spiffworkflow_backend.models.process_instance import ProcessInstanceApiSchema from spiffworkflow_backend.models.process_instance import ProcessInstanceModel from spiffworkflow_backend.models.process_model import ProcessModelInfoSchema -from spiffworkflow_backend.models.principal import PrincipalModel from spiffworkflow_backend.services.process_instance_processor import ( ProcessInstanceProcessor, ) @@ -33,7 +33,8 @@ process_api_blueprint = Blueprint("process_api", __name__) def process_group_add(body): """Add_process_group.""" - # just so the import is used. oh, and it's imported because spiffworkflow_backend/unit/test_permissions.py depends on it, and otherwise flask migrations won't include it in the list of database tables. + # just so the import is used. oh, and it's imported because spiffworkflow_backend/unit/test_permissions.py + # depends on it, and otherwise flask migrations won't include it in the list of database tables. PrincipalModel() process_model_service = ProcessModelService()