Update maintenance_flow.py
Browse files- maintenance_flow.py +3 -3
maintenance_flow.py
CHANGED
|
@@ -22,14 +22,14 @@ def request_wells_maintenance(maintenance_type):
|
|
| 22 |
message += f"\n\nOT2-LCM requests a {maintenance_type}, please open the <{flow_run_url}|paused flow run>, complete with your user name and then click 'Resume'"
|
| 23 |
slack_block.notify(message)
|
| 24 |
|
| 25 |
-
|
| 26 |
-
|
| 27 |
Please finish the maintenance and enter your name:
|
| 28 |
"""
|
| 29 |
|
| 30 |
user_input = pause_flow_run(
|
| 31 |
wait_for_input=UserInput.with_initial_data(
|
| 32 |
-
description=
|
| 33 |
),timeout = 300
|
| 34 |
)
|
| 35 |
|
|
|
|
| 22 |
message += f"\n\nOT2-LCM requests a {maintenance_type}, please open the <{flow_run_url}|paused flow run>, complete with your user name and then click 'Resume'"
|
| 23 |
slack_block.notify(message)
|
| 24 |
|
| 25 |
+
description = f"""
|
| 26 |
+
OT2-LCM requests a {maintenance_type}!
|
| 27 |
Please finish the maintenance and enter your name:
|
| 28 |
"""
|
| 29 |
|
| 30 |
user_input = pause_flow_run(
|
| 31 |
wait_for_input=UserInput.with_initial_data(
|
| 32 |
+
description=description
|
| 33 |
),timeout = 300
|
| 34 |
)
|
| 35 |
|