(
session,
workflow)
| 203 | |
| 204 | @staticmethod |
| 205 | def update_string_id( |
| 206 | session, |
| 207 | workflow): |
| 208 | |
| 209 | # Not super happy with this here... |
| 210 | if workflow.name is None: |
| 211 | workflow.name = "Untitled flow" |
| 212 | |
| 213 | workflow.string_id = safe_name(workflow.name) |
| 214 | |
| 215 | workflow.string_id += f"_{create_random_string(length=20)}" |
| 216 | |
| 217 | |
| 218 | def serialize_with_actions(self, session): |
no test coverage detected