File tree Expand file tree Collapse file tree 1 file changed +29
-0
lines changed
src/databricks/labs/ucx/progress Expand file tree Collapse file tree 1 file changed +29
-0
lines changed Original file line number Diff line number Diff line change
1
+ import datetime as dt
1
2
import logging
3
+ from dataclasses import dataclass
2
4
3
5
from databricks .labs .lsql .backends import SqlBackend
4
6
from databricks .labs .lsql .deployment import SchemaDeployer
7
9
logger = logging .getLogger (__name__ )
8
10
9
11
12
+ @dataclass (frozen = True , kw_only = True )
13
+ class WorkflowRun :
14
+ started_at : dt .datetime
15
+ """The timestamp of the workflow run start."""
16
+
17
+ finished_at : dt .datetime
18
+ """The timestamp of the workflow run end."""
19
+
20
+ workspace_id : int
21
+ """The workspace id in which the workflow ran."""
22
+
23
+ workflow_name : str
24
+ """The workflow name that ran."""
25
+
26
+ workflow_id : int
27
+ """"The workflow id of the workflow that ran."""
28
+
29
+ workflow_run_id : int
30
+ """The workflow run id."""
31
+
32
+ run_as : str
33
+ """The identity the workflow was run as`"""
34
+
35
+ status : str
36
+ """The workflow run final status"""
37
+
38
+
10
39
class HistoryInstallation :
11
40
"""Install resources for UCX's artifacts history."""
12
41
You can’t perform that action at this time.
0 commit comments