Skip to content
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

Clean up keyword argument name, using URL.join(url=...), not URL.join(relative_url=...). #1129

Merged
merged 2 commits into from
Aug 5, 2020

Conversation

tomchristie
Copy link
Member

Another niggly bit of API cleanup, that's a hangover from past implementation details.

Now that the URL() class is agnostic to relative/absolute URLs, the keyword argument naming in URL.join(relative_url=...) isn't appropriate.

I think we can get away with a unilateral rename, given that it's not really a very end-user facing bit of API, and it'll be called out in the 0.14 release notes.

@tomchristie tomchristie added this to the v0.14 milestone Aug 5, 2020
@tomchristie tomchristie changed the title URL.join(url=...), not URL.join(relative_url=...) Clean up keyword argument name, using URL.join(url=...), not URL.join(relative_url=...). Aug 5, 2020
@tomchristie tomchristie added the refactor Issues and PRs related to code refactoring label Aug 5, 2020
@StephenBrown2
Copy link
Contributor

Superceded by #1130?

@tomchristie
Copy link
Member Author

No, just different issues.

Copy link
Member

@florimondmanca florimondmanca left a comment

Choose a reason for hiding this comment

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

Sure!

@tomchristie tomchristie merged commit 1da46f3 into master Aug 5, 2020
@tomchristie tomchristie deleted the fix-url-join-keyword-name branch August 5, 2020 17:32
@tomchristie tomchristie mentioned this pull request Aug 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
refactor Issues and PRs related to code refactoring
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants