Skip to content

Commit fc3e096

Browse files
chore: add image digest to Actor build model (#1083)
- Regenerates the Pydantic models, TypedDicts, and literal aliases from the [published OpenAPI specification](https://docs.apify.com/api/openapi.json), and records its version in `pyproject.toml`. - Specification version: `v2-2026-08-31T125154Z` -> `v2-2026-10-01T153946Z`.
1 parent a80e418 commit fc3e096

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ keep_model_order = true
250250
# workflow committing nothing unless the models changed. A local regeneration that only moves this line is that
251251
# same case - drop it rather than committing it alone.
252252
[tool.apify.openapi-spec]
253-
version = "v2-2026-08-31T125154Z"
253+
version = "v2-2026-10-01T153946Z"
254254

255255
[tool.uv]
256256
# Minimal defense against supply-chain atatcks.

‎src/apify_client/_models.py‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,12 @@ class Build(BaseModel):
595595
build_number: Annotated[
596596
str, Field(examples=['0.1.1'], pattern='^([0-9]|[1-9][0-9])\\.([0-9]|[1-9][0-9])(\\.[1-9][0-9]{0,4})$')
597597
]
598+
image_digest: Annotated[
599+
str | None, Field(examples=['1b2f1e8c0d5a4c7f9e3b6a2d8c4e0f7a5b9d3c1e6f8a2b4d0c7e9f1a3b5d7c9e'])
600+
] = None
601+
"""
602+
Digest of the built Docker image manifest, without the `sha256:` prefix. Compare digests of two builds to find out whether their image contents differ. `null` if the digest is not available.
603+
"""
598604
act_version: Annotated[ActVersion | None, Field(title='BuildActVersion')] = None
599605
"""
600606
Snapshot of the Actor version that this build was created from.

0 commit comments

Comments
 (0)