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
1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 | |
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.