Skip to content

Commit f3e7ee6

Browse files
[TODO]: update generated models from apify-docs PR #2561
1 parent 4e29f41 commit f3e7ee6

1 file changed

Lines changed: 14 additions & 4 deletions

File tree

src/apify_client/_models.py

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ class ActVersion(BaseModel):
4040
extra='allow',
4141
populate_by_name=True,
4242
)
43-
source_type: Annotated[VersionSourceType | None, Field(alias='sourceType')] = None
43+
source_type: Annotated[str | None, Field(alias='sourceType', examples=['SOURCE_FILES'])] = None
44+
"""
45+
The source type of the Actor version (e.g. SOURCE_FILES, GIT_REPO, TARBALL, GITHUB_GIST).
46+
"""
4447
build_tag: Annotated[str | None, Field(alias='buildTag', examples=['experimental'])] = None
4548
version_number: Annotated[str | None, Field(alias='versionNumber', examples=['0.0'])] = None
4649
git_repo_url: Annotated[
@@ -934,9 +937,16 @@ class DatasetStats(BaseModel):
934937
extra='allow',
935938
populate_by_name=True,
936939
)
937-
read_count: Annotated[int, Field(alias='readCount', examples=[22])]
938-
write_count: Annotated[int, Field(alias='writeCount', examples=[3])]
939-
storage_bytes: Annotated[int, Field(alias='storageBytes', examples=[783])]
940+
read_count: Annotated[int | None, Field(alias='readCount', examples=[22])] = None
941+
write_count: Annotated[int | None, Field(alias='writeCount', examples=[3])] = None
942+
storage_bytes: Annotated[int | None, Field(alias='storageBytes', examples=[783])] = None
943+
"""
944+
Total storage size in bytes. Only returned by the single-dataset endpoint.
945+
"""
946+
inflated_bytes: Annotated[int | None, Field(alias='inflatedBytes', examples=[0])] = None
947+
"""
948+
Uncompressed size in bytes. Only returned by the dataset list endpoint.
949+
"""
940950

941951

942952
@docs_group('Models')

0 commit comments

Comments
 (0)