icechunk.ops#
Operation types: repository updates, garbage collection summaries.
icechunk.ops.GCSummary #
Summarizes the results of a garbage collection operation on an icechunk repo
Attributes:
| Name | Type | Description |
|---|---|---|
attributes_deleted | int | How many attributes were deleted. |
bytes_deleted | int | How many bytes were deleted. |
chunks_deleted | int | How many chunks were deleted. |
manifests_deleted | int | How many manifests were deleted. |
snapshots_deleted | int | How many snapshots were deleted. |
transaction_logs_deleted | int | How many transaction logs were deleted. |
Source code in python/icechunk/_icechunk_python.pyi
transaction_logs_deleted property #
How many transaction logs were deleted.
icechunk.ops.Update #
A single entry in the repository operations log.
Each update records an administrative action taken on the repository, along with when it occurred.
Attributes:
| Name | Type | Description |
|---|---|---|
kind | UpdateType | The type of operation that was performed. |
updated_at | datetime | When the operation occurred. |
backup_path | str | None | Path to a backup created before the operation, if any. |
Source code in python/icechunk/_icechunk_python.pyi
icechunk.ops.UpdateType #
The type of operation recorded in an Update.
This is a tagged union — each variant is a nested class with its own fields describing what happened.
Classes:
| Name | Description |
|---|---|
BranchCreated | A new branch was created. |
BranchDeleted | A branch was deleted. |
BranchReset | A branch was reset to a different snapshot. |
CommitAmended | A commit on a branch was amended. |
ConfigChanged | The repository configuration was changed. |
ExpirationRan | Snapshot expiration was run. |
FeatureFlagChanged | A feature flag was changed. |
GCRan | Garbage collection was run. |
MetadataChanged | Repository metadata was changed. |
NewCommit | A new commit was made on a branch. |
NewDetachedSnapshot | A new detached snapshot was created. |
RepoInitialized | The repository was initialized. |
RepoMigrated | The repository was migrated to a new spec version. |
RepoStatusChanged | The repository availability status was changed. |
TagCreated | A new tag was created. |
TagDeleted | A tag was deleted. |
Source code in python/icechunk/_icechunk_python.pyi
2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 | |
BranchCreated #
BranchDeleted #
BranchReset #
Bases: UpdateType
A branch was reset to a different snapshot.
Source code in python/icechunk/_icechunk_python.pyi
CommitAmended #
Bases: UpdateType
A commit on a branch was amended.
Source code in python/icechunk/_icechunk_python.pyi
ConfigChanged #
ExpirationRan #
FeatureFlagChanged #
GCRan #
MetadataChanged #
NewCommit #
NewDetachedSnapshot #
RepoInitialized #
RepoMigrated #
Bases: UpdateType
The repository was migrated to a new spec version.