Skip to content

Commit

Permalink
Remove unnecessary field exclusion in Request serialization
Browse files Browse the repository at this point in the history
  • Loading branch information
janbuchar committed Jan 7, 2025
1 parent 2c6d513 commit 66a233d
Showing 1 changed file with 0 additions and 20 deletions.
20 changes: 0 additions & 20 deletions src/apify/apify_storage_client/_request_queue_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,6 @@ async def add_request(
by_alias=True,
exclude={
'id',
'json_',
'order_no',
'query_params',
'data',
},
),
forefront=forefront,
Expand All @@ -107,12 +103,6 @@ async def update_request(
| await self._client.update_request(
request=request.model_dump(
by_alias=True,
exclude={
'json_',
'order_no',
'query_params',
'data',
},
),
forefront=forefront,
)
Expand Down Expand Up @@ -164,10 +154,6 @@ async def batch_add_requests(
by_alias=True,
exclude={
'id',
'json_',
'order_no',
'query_params',
'data',
},
)
for r in requests
Expand All @@ -183,12 +169,6 @@ async def batch_delete_requests(self, requests: list[Request]) -> BatchRequestsO
requests=[
r.model_dump(
by_alias=True,
exclude={
'json_',
'order_no',
'query_params',
'data',
},
)
for r in requests
],
Expand Down

0 comments on commit 66a233d

Please sign in to comment.