Skip to content

Commit 1e1e062

Browse files
committed
Update docs
1 parent 27cb2da commit 1e1e062

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

src/databricks/labs/ucx/assessment/sequencing.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -84,16 +84,14 @@ def as_step(self, step_number: int, required_step_ids: list[int]) -> MigrationSt
8484

8585

8686
class PriorityQueue:
87-
"""A priority queue supporting to update tasks.
88-
89-
An adaption from class:queue.Priority to support updating tasks.
87+
"""A migration node priority queue.
9088
9189
Note:
9290
This implementation does not support threading safety as that is not required.
9391
9492
Source:
9593
See https://docs.python.org/3/library/heapq.html#priority-queue-implementation-notes on the changes below
96-
to handle priority changes in the task.
94+
to handle priority changes in the task. Also, the _UPDATED marker is introduced to avoid updating removed nodes.
9795
"""
9896

9997
_REMOVED = "<removed>" # Mark removed items

0 commit comments

Comments
 (0)