Skip to content

Commit cf957ee

Browse files
authored
Remove the trailing \ (#959)
1 parent eb26d29 commit cf957ee

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.bumpversion.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[bumpversion]
2-
current_version = 4.0.1
2+
current_version = 4.0.2
33
commit = False
44
tag = False
55
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(rc(?P<build>\d+))?

orchestrator/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
"""This is the orchestrator workflow engine."""
1515

16-
__version__ = "4.0.1"
16+
__version__ = "4.0.2"
1717

1818
from orchestrator.app import OrchestratorCore
1919
from orchestrator.settings import app_settings

orchestrator/migrations/helpers.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ def create_workflow(conn: sa.engine.Connection, workflow: dict) -> None:
172172
FROM products AS p
173173
CROSS JOIN new_workflow AS nw
174174
WHERE p.product_type = :product_type
175-
ON CONFLICT DO NOTHING \
175+
ON CONFLICT DO NOTHING
176176
"""
177177
else:
178178
# Remove is_task from workflow dict and insert SQL
@@ -189,7 +189,7 @@ def create_workflow(conn: sa.engine.Connection, workflow: dict) -> None:
189189
FROM products AS p
190190
CROSS JOIN new_workflow AS nw
191191
WHERE p.product_type = :product_type
192-
ON CONFLICT DO NOTHING \
192+
ON CONFLICT DO NOTHING
193193
"""
194194

195195
conn.execute(sa.text(query), workflow)
@@ -216,7 +216,7 @@ def create_task(conn: sa.engine.Connection, task: dict) -> None:
216216
INSERT INTO workflows(name, target, is_task, description)
217217
VALUES (:name, 'SYSTEM', TRUE, :description)
218218
ON CONFLICT DO NOTHING
219-
RETURNING workflow_id \
219+
RETURNING workflow_id
220220
"""
221221
else:
222222
query = """

0 commit comments

Comments
 (0)