Skip to content

Conversation

@Pijukatel
Copy link
Collaborator

@Pijukatel Pijukatel commented Aug 20, 2025

Description

  • Remove request.id and replace all usages of id with unique_key

Issues

Testing

Benchmarking actor was created and run based on these branches.

@github-actions github-actions bot added this to the 121st sprint - Tooling team milestone Aug 20, 2025
@github-actions github-actions bot added t-tooling Issues with this label are in the ownership of the tooling team. tested Temporary label used only programatically for some analytics. labels Aug 20, 2025
@Pijukatel Pijukatel marked this pull request as ready for review August 20, 2025 08:05
@Pijukatel Pijukatel requested a review from vdusek August 20, 2025 09:50
@Pijukatel Pijukatel changed the title feat: Remove request.id refactor!: Remove request.id Aug 20, 2025
@Pijukatel Pijukatel requested a review from vdusek August 20, 2025 12:01
@Pijukatel Pijukatel requested a review from vdusek August 20, 2025 12:37
@vdusek vdusek changed the title refactor!: Remove request.id refactor!: Remove Request.id field Aug 20, 2025
Copy link
Collaborator

@vdusek vdusek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@Mantisus Mantisus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great job, I like it.


id: Annotated[str, Field(alias='requestId')]
id: Annotated[str | None, Field(alias='requestId', default=None)] = None
"""Represents internal representation of the request by the storage client. Only some clients use id."""
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It represents a representation? You probably want to reword this 🙂

@Pijukatel Pijukatel merged commit 32f3580 into master Aug 21, 2025
19 checks passed
@Pijukatel Pijukatel deleted the remove-request-id branch August 21, 2025 14:01
Pijukatel added a commit to apify/apify-sdk-python that referenced this pull request Aug 22, 2025
### Description

- Remove `request.id` and replace all usages of `id` with `unique_key`
- Add transformation from `unique_key` to `id` and use it when calling
id-based client methods
- Requires:
  - apify/crawlee-python#1366

### Issues

- Part of: apify/crawlee-python#1358
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

t-tooling Issues with this label are in the ownership of the tooling team. tested Temporary label used only programatically for some analytics.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Remove request.id

5 participants