-
Notifications
You must be signed in to change notification settings - Fork 511
refactor!: Remove Request.id field
#1366
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: Vlada Dusek <[email protected]>
Co-authored-by: Vlada Dusek <[email protected]>
request.idRequest.id field
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this 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.""" |
There was a problem hiding this comment.
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 🙂
### 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
Description
Issues
request.id#1358Testing
Benchmarking actor was created and run based on these branches.