Skip to content

Commit 4147908

Browse files
committed
Add docstrings to methods
1 parent 7aee673 commit 4147908

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,11 @@ class MigrationNode:
4949

5050
@property
5151
def key(self) -> MigrationNodeKey:
52+
"""Unique identifier of the node."""
5253
return self.object_type, self.object_id
5354

5455
def as_step(self, step_number: int, required_step_ids: list[int]) -> MigrationStep:
56+
"""Convert to class:MigrationStep."""
5557
return MigrationStep(
5658
step_id=self.node_id,
5759
step_number=step_number,

0 commit comments

Comments
 (0)