Method
update_step_ids
(cls, step_ids: STEP_IDS, modified_step_ids: STEP_IDS)
Source from the content-addressed store, hash-verified
| 446 | |
| 447 | @classmethod |
| 448 | def update_step_ids(cls, step_ids: STEP_IDS, modified_step_ids: STEP_IDS) -> STEP_IDS: |
| 449 | |
| 450 | final_step_ids = {} |
| 451 | final_step_ids["added"] = step_ids["added"] |
| 452 | final_step_ids["removed"] = step_ids["removed"] |
| 453 | final_step_ids["modified"] = ( |
| 454 | step_ids["modified"].union(modified_step_ids["modified"]).difference(step_ids["added"]) |
| 455 | ) |
| 456 | return final_step_ids |
| 457 | |
| 458 | @classmethod |
| 459 | def colourise(cls, step_ids: STEP_IDS) -> None: |
Callers
nothing calls this directly
Tested by
no test coverage detected