Reworking imports after empty __init__.py

This commit is contained in:
Jon Herron 2022-10-03 21:52:19 -04:00
parent 9153637e15
commit 0de2676f9a
7 changed files with 10 additions and 10 deletions

2
poetry.lock generated
View File

@ -1827,7 +1827,7 @@ test = ["pytest"]
[[package]]
name = "SpiffWorkflow"
version = "1.1.7"
description = ""
description = "A workflow framework and BPMN/DMN Processor"
category = "main"
optional = false
python-versions = "*"

View File

@ -23,8 +23,8 @@ from flask_bpmn.api.api_error import ApiError
from flask_bpmn.models.db import db
from lxml import etree # type: ignore
from lxml.builder import ElementMaker # type: ignore
from SpiffWorkflow import Task as SpiffTask # type: ignore
from SpiffWorkflow import TaskState
from SpiffWorkflow.task import Task as SpiffTask # type: ignore
from SpiffWorkflow.task import TaskState
from sqlalchemy import desc
from spiffworkflow_backend.exceptions.process_entity_not_found_error import (

View File

@ -2,7 +2,7 @@
from typing import Any
from typing import Optional
from SpiffWorkflow import Task as SpiffTask # type: ignore
from SpiffWorkflow.task import Task as SpiffTask # type: ignore
from spiffworkflow_backend.scripts.script import Script

View File

@ -2,7 +2,7 @@
from typing import Any
from typing import Optional
from SpiffWorkflow import Task as SpiffTask # type: ignore
from SpiffWorkflow.task import Task as SpiffTask # type: ignore
from spiffworkflow_backend.scripts.script import Script

View File

@ -9,7 +9,7 @@ from typing import Any
from typing import Callable
from flask_bpmn.api.api_error import ApiError
from SpiffWorkflow import Task as SpiffTask # type: ignore
from SpiffWorkflow.task import Task as SpiffTask # type: ignore
# Generally speaking, having some global in a flask app is TERRIBLE.
# This is here, because after loading the application this will never change under

View File

@ -16,9 +16,9 @@ from flask import current_app
from flask_bpmn.api.api_error import ApiError
from flask_bpmn.models.db import db
from lxml import etree # type: ignore
from SpiffWorkflow import Task as SpiffTask # type: ignore
from SpiffWorkflow import TaskState
from SpiffWorkflow import WorkflowException
from SpiffWorkflow.task import Task as SpiffTask # type: ignore
from SpiffWorkflow.task import TaskState
from SpiffWorkflow.exceptions import WorkflowException
from SpiffWorkflow.bpmn.exceptions import WorkflowTaskExecException # type: ignore
from SpiffWorkflow.bpmn.parser.ValidationException import ValidationException # type: ignore
from SpiffWorkflow.bpmn.PythonScriptEngine import Box # type: ignore

View File

@ -6,7 +6,7 @@ from dataclasses import dataclass
from typing import Any
from typing import Optional
from SpiffWorkflow import Task as SpiffTask # type: ignore
from SpiffWorkflow.task import Task as SpiffTask # type: ignore
from SpiffWorkflow.bpmn.exceptions import WorkflowTaskExecException # type: ignore
from spiffworkflow_backend.services.process_instance_processor import (