Skip to content

Commit e5705ac

Browse files
committed
Make snapshot id None by default
1 parent bf7ae1f commit e5705ac

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
@@ -20,9 +20,6 @@ class HistoricalRecord:
2020
job_run_id: int
2121
"""The identifier of the job run that generated this record."""
2222

23-
snapshot_id: int
24-
"""An identifier that is unique to the records produced for a given snapshot."""
25-
2623
failures: list[str]
2724
"""The list of problems associated with the object that this inventory record covers."""
2825

@@ -41,6 +38,9 @@ class HistoricalRecord:
4138
ucx_version: str = __version__
4239
"""The UCX semantic version."""
4340

41+
snapshot_id: int | None = None
42+
"""An identifier that is unique to the records produced for a given snapshot."""
43+
4444
object_type_version: int = 0
4545
"""Versioning of inventory table, for forward compatibility."""
4646

0 commit comments

Comments
 (0)