Skip to content

Commit ce801f3

Browse files
committed
Add docstrings on MigrationStep attributes
1 parent 4147908 commit ce801f3

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

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

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,25 @@
1818
@dataclass
1919
class MigrationStep:
2020
step_id: int
21+
"""Globally unique id."""
22+
2123
step_number: int
24+
"""The position in the migration sequence."""
25+
2226
object_type: str
27+
"""Object type. Together with `attr:object_id` a unique identifier."""
28+
2329
object_id: str
30+
"""Object id. Together with `attr:object_id` a unique identifier."""
31+
2432
object_name: str
33+
"""Object name, more human friendly than `attr:object_id`."""
34+
2535
object_owner: str
36+
"""Object owner."""
37+
2638
required_step_ids: list[int]
39+
"""The step ids that should be completed before this step is started."""
2740

2841

2942
MigrationNodeKey = tuple[str, str]

0 commit comments

Comments
 (0)