Skip to content

Commit 68a844b

Browse files
committed
black fix migration script
1 parent e640f1b commit 68a844b

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

st2common/bin/migrations/v3.9/st2-migrate-liveaction-executiondb

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,10 @@ from st2common.service_setup import db_setup
4242
from st2common.service_setup import db_teardown
4343
from st2common.util import isotime
4444
from st2common.models.db.execution import ActionExecutionDB
45-
from st2common.constants.action import LIVEACTION_COMPLETED_STATES, LIVEACTION_STATUS_PAUSED
45+
from st2common.constants.action import (
46+
LIVEACTION_COMPLETED_STATES,
47+
LIVEACTION_STATUS_PAUSED,
48+
)
4649

4750
# NOTE: To avoid unnecessary mongoengine object churn when retrieving only object ids (aka to avoid
4851
# instantiating model class with a single field), we use raw pymongo value which is a dict with a

0 commit comments

Comments
 (0)