fixed model load issue w/ burnettk

This commit is contained in:
jasquat 2022-10-21 11:05:54 -04:00
parent 49eefc561e
commit 63796d50e6
1 changed files with 3 additions and 2 deletions

View File

@ -10,10 +10,12 @@ avoid circular imports
from flask_bpmn.models.db import add_listeners
# must load this before UserModel and GroupModel for relationships
# must load these before UserModel and GroupModel for relationships
from spiffworkflow_backend.models.user_group_assignment import (
UserGroupAssignmentModel,
) # noqa: F401
from spiffworkflow_backend.models.principal import PrincipalModel # noqa: F401
from spiffworkflow_backend.models.active_task import ActiveTaskModel # noqa: F401
from spiffworkflow_backend.models.bpmn_process_id_lookup import (
@ -37,7 +39,6 @@ from spiffworkflow_backend.models.permission_assignment import (
from spiffworkflow_backend.models.permission_target import (
PermissionTargetModel,
) # noqa: F401
from spiffworkflow_backend.models.principal import PrincipalModel # noqa: F401
from spiffworkflow_backend.models.process_instance import (
ProcessInstanceModel,
) # noqa: F401