Skip to content

Commit cc2fd30

Browse files
committed
Add default to HistoricalRecord.object_type_version
1 parent 19bd3f5 commit cc2fd30

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/databricks/labs/ucx/progress/install.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,9 +32,6 @@ class HistoricalRecord:
3232
object_type: str
3333
"""The inventory table for which this record was generated."""
3434

35-
object_type_version: int
36-
"""Versioning of inventory table, for forward compatibility."""
37-
3835
object_id: list[str]
3936
"""The type-specific identifier for this inventory record."""
4037

@@ -47,6 +44,9 @@ class HistoricalRecord:
4744
failures: list[str]
4845
"""The list of problems associated with the object that this inventory record covers."""
4946

47+
object_type_version: int = 0
48+
"""Versioning of inventory table, for forward compatibility."""
49+
5050

5151
class HistoryInstallation:
5252
"""Install resources for UCX's artifacts history.

0 commit comments

Comments
 (0)