From ec431349e8b5cc2e8aa1ee1799bcb768fd3116c3 Mon Sep 17 00:00:00 2001 From: burnettk Date: Wed, 26 Oct 2022 13:40:37 -0400 Subject: [PATCH] Squashed 'spiffworkflow-backend/' changes from 6d0e92d7f..4f71a03e3 4f71a03e3 lint git-subtree-dir: spiffworkflow-backend git-subtree-split: 4f71a03e3d9a2d1d3a36f26c13515dc5bde9b42c --- src/spiffworkflow_backend/helpers/db_helper.py | 3 ++- src/spiffworkflow_backend/scripts/get_user.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/spiffworkflow_backend/helpers/db_helper.py b/src/spiffworkflow_backend/helpers/db_helper.py index 6a6f1207..45cd38f7 100644 --- a/src/spiffworkflow_backend/helpers/db_helper.py +++ b/src/spiffworkflow_backend/helpers/db_helper.py @@ -1,7 +1,8 @@ """Db_helper.""" +import time + import sqlalchemy from flask_bpmn.models.db import db -import time def try_to_connect(start_time: float) -> None: diff --git a/src/spiffworkflow_backend/scripts/get_user.py b/src/spiffworkflow_backend/scripts/get_user.py index b362c88d..73553b3e 100644 --- a/src/spiffworkflow_backend/scripts/get_user.py +++ b/src/spiffworkflow_backend/scripts/get_user.py @@ -1,8 +1,8 @@ """Get_env.""" from typing import Any -from flask import g from typing import Optional +from flask import g from SpiffWorkflow.task import Task as SpiffTask # type: ignore from spiffworkflow_backend.scripts.script import Script