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 icechunk-python/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 icechunk-python/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 icechunk-python/python/icechunk/_icechunk_python.pyi
2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 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 | |
BranchCreated #
BranchDeleted #
BranchReset #
Bases: UpdateType
A branch was reset to a different snapshot.
Source code in icechunk-python/python/icechunk/_icechunk_python.pyi
CommitAmended #
Bases: UpdateType
A commit on a branch was amended.
Source code in icechunk-python/python/icechunk/_icechunk_python.pyi
ConfigChanged #
ExpirationRan #
FeatureFlagChanged #
Bases: UpdateType
A feature flag was changed.
Source code in icechunk-python/python/icechunk/_icechunk_python.pyi
GCRan #
MetadataChanged #
NewCommit #
Bases: UpdateType
A new commit was made on a branch.
Source code in icechunk-python/python/icechunk/_icechunk_python.pyi
NewDetachedSnapshot #
RepoInitialized #
RepoMigrated #
Bases: UpdateType
The repository was migrated to a new spec version.
Source code in icechunk-python/python/icechunk/_icechunk_python.pyi
RepoStatusChanged #
Bases: UpdateType
The repository availability status was changed.