Skip to content

fix(api): avoid parameter conflicts with python and gitlab - #681

Merged
max-wittig merged 1 commit into
masterfrom
no-param-conflicts
Jan 19, 2019
Merged

fix(api): avoid parameter conflicts with python and gitlab#681
max-wittig merged 1 commit into
masterfrom
no-param-conflicts

Conversation

@gpocentek

Copy link
Copy Markdown
Contributor

Provide another way to send data to gitlab with a new query_parameters
argument. This parameter can be used to explicitly define the dict of
items to send to the server, so that **kwargs are only used to specify
python-gitlab specific parameters.

Closes #566
Closes #629

@max-wittig max-wittig left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This is a difficult conceptual problem to solve and this seems like a good compromise (usability vs. edge cases).

I just noticed the the minor typos, otherwise looks good and works as expected 👍

Comment thread RELEASE_NOTES.rst Outdated
Comment thread docs/api-usage.rst Outdated
Provide another way to send data to gitlab with a new `query_parameters`
argument. This parameter can be used to explicitly define the dict of
items to send to the server, so that **kwargs are only used to specify
python-gitlab specific parameters.

Closes #566
Closes #629
@gpocentek

Copy link
Copy Markdown
Contributor Author

Thanks for the review!

@gpocentek

Copy link
Copy Markdown
Contributor Author

Typos fixed and checked passed, let me know if this looks OK to you.

@max-wittig

Copy link
Copy Markdown
Member

Sorry totally forgot about this. Looks good to me. Let's merge it.

@max-wittig
max-wittig merged commit 572029c into master Jan 19, 2019
@max-wittig
max-wittig deleted the no-param-conflicts branch February 18, 2019 16:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants