Skip to content

path argument of "List repository commits" is overriden #2845

Answered by JohnVillalovos
elongl asked this question in Q&A
Discussion options

You must be logged in to vote

From: https://python-gitlab.readthedocs.io/en/stable/api-usage.html

You can use the query_parameters argument to send arguments that would conflict with python or python-gitlab when using them as kwargs:

gl.user_activities.list(from='2019-01-01', iterator=True)  ## invalid

gl.user_activities.list(query_parameters={'from': '2019-01-01'}, iterator=True)  # OK

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by elongl
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2844 on April 28, 2024 10:39.