Skip to content

Commit bb3e200

Browse files
committed
Add migration sequencer to RuntimeContext
1 parent 4a19f18 commit bb3e200

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/databricks/labs/ucx/contexts/workflow_task.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
from databricks.labs.ucx.assessment.init_scripts import GlobalInitScriptCrawler
1919
from databricks.labs.ucx.assessment.jobs import JobOwnership, JobInfo, JobsCrawler, SubmitRunsCrawler
2020
from databricks.labs.ucx.assessment.pipelines import PipelinesCrawler, PipelineInfo, PipelineOwnership
21+
from databricks.labs.ucx.assessment.sequencing import MigrationSequencer
2122
from databricks.labs.ucx.config import WorkspaceConfig
2223
from databricks.labs.ucx.contexts.application import GlobalContext
2324
from databricks.labs.ucx.hive_metastore import TablesInMounts, TablesCrawler
@@ -253,3 +254,7 @@ def udfs_progress(self) -> ProgressEncoder[Udf]:
253254
self.workspace_id,
254255
self.config.ucx_catalog,
255256
)
257+
258+
@cached_property
259+
def migration_sequencer(self) -> MigrationSequencer:
260+
return MigrationSequencer(self.workspace_client, self.administrator_locator)

0 commit comments

Comments
 (0)