Skip to content

Commit 3cf3946

Browse files
committed
Add from_run_id
1 parent 63003fd commit 3cf3946

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

sqlmesh/utils/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -403,3 +403,7 @@ def __str__(self) -> str:
403403
@classmethod
404404
def from_plan_id(cls, plan_id: str) -> CorrelationId:
405405
return CorrelationId(JobType.PLAN, plan_id)
406+
407+
@classmethod
408+
def from_run_id(cls, run_id: str) -> CorrelationId:
409+
return CorrelationId(JobType.RUN, run_id)

0 commit comments

Comments
 (0)