Skip to content

Commit 6febfb0

Browse files
vdusekclaude
andcommitted
fix: add extra='allow' to all storage client models
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b2f6952 commit 6febfb0

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/apify/storage_clients/_apify/_models.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ class ApifyKeyValueStoreMetadata(KeyValueStoreMetadata):
2626
class ProlongRequestLockResponse(BaseModel):
2727
"""Response to prolong request lock calls."""
2828

29-
model_config = ConfigDict(populate_by_name=True)
29+
model_config = ConfigDict(populate_by_name=True, extra='allow')
3030

3131
lock_expires_at: Annotated[datetime, Field(alias='lockExpiresAt')]
3232

@@ -39,7 +39,7 @@ class RequestQueueHead(BaseModel):
3939
including metadata about the queue's state and lock information for the requests.
4040
"""
4141

42-
model_config = ConfigDict(populate_by_name=True)
42+
model_config = ConfigDict(populate_by_name=True, extra='allow')
4343

4444
limit: Annotated[int | None, Field(alias='limit', default=None)]
4545
"""The maximum number of requests that were requested from the queue."""
@@ -66,7 +66,7 @@ class KeyValueStoreKeyInfo(BaseModel):
6666
Only internal structure.
6767
"""
6868

69-
model_config = ConfigDict(populate_by_name=True)
69+
model_config = ConfigDict(populate_by_name=True, extra='allow')
7070

7171
key: Annotated[str, Field(alias='key')]
7272
size: Annotated[int, Field(alias='size')]
@@ -78,7 +78,7 @@ class KeyValueStoreListKeysPage(BaseModel):
7878
Only internal structure.
7979
"""
8080

81-
model_config = ConfigDict(populate_by_name=True)
81+
model_config = ConfigDict(populate_by_name=True, extra='allow')
8282

8383
count: Annotated[int, Field(alias='count')]
8484
limit: Annotated[int, Field(alias='limit')]
@@ -108,7 +108,7 @@ class CachedRequest(BaseModel):
108108

109109

110110
class RequestQueueStats(BaseModel):
111-
model_config = ConfigDict(populate_by_name=True)
111+
model_config = ConfigDict(populate_by_name=True, extra='allow')
112112

113113
delete_count: Annotated[int, Field(alias='deleteCount', default=0)]
114114
""""The number of request queue deletes."""

0 commit comments

Comments
 (0)