Skip to content

feat!: Add headers in unique key computation#609

Merged
vdusek merged 6 commits into
apify:masterfrom
Prathamesh010:feat-uniquekey
Oct 23, 2024
Merged

feat!: Add headers in unique key computation#609
vdusek merged 6 commits into
apify:masterfrom
Prathamesh010:feat-uniquekey

Conversation

@Prathamesh010

@Prathamesh010 Prathamesh010 commented Oct 21, 2024

Copy link
Copy Markdown
Contributor

Description

  • Adds headers in unique key computation

Issues

Testing

  • Added tests in [tests/unit/_utils/test_requests.py]

Checklist

  • CI passed
@Prathamesh010

Copy link
Copy Markdown
Contributor Author

Please run the ci @vdusek. Thank you

@vdusek vdusek left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Could you please use HttpHeaders type for headers? It should also help with the normalization. Otherwise, it looks solid.

Comment thread tests/unit/_utils/test_requests.py Outdated
Comment thread tests/unit/_utils/test_requests.py Outdated
Comment thread tests/unit/_utils/test_requests.py Outdated
Comment thread tests/unit/_utils/test_requests.py Outdated
@Prathamesh010

Copy link
Copy Markdown
Contributor Author

The Requested changes are done. @vdusek Please have a look

@vdusek vdusek changed the title feat: Add headers in unique key computation Oct 23, 2024

@vdusek vdusek left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Hi @Prathamesh010, I made a few more changes there, otherwise it looks great. Thank you for your contribution.

@B4nan

B4nan commented Oct 23, 2024

Copy link
Copy Markdown
Member

why was this marked as breaking change?

@vdusek

vdusek commented Oct 23, 2024

Copy link
Copy Markdown
Collaborator

why was this marked as breaking change?

The interface remained the same, but the computation of the extended unique key was changed. It will be released in 0.4 together with #542.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants