Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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

AnsweredbyJohnVillalovos
elongl asked this question inQ&A
Discussion options

Description of the problem, including code/CLI snippet

I'm unable to use thepath argument ofList repository commits because it's beingoverridden by the library.

Is there a workaround for this? Currently planning on using thehttp_list.

You must be logged in to vote

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

You can use thequery_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)  ## invalidgl.user_activities.list(query_parameters={'from': '2019-01-01'}, iterator=True)  # OK

Replies: 1 comment

Comment options

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

You can use thequery_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)  ## invalidgl.user_activities.list(query_parameters={'from': '2019-01-01'}, iterator=True)  # OK
You must be logged in to vote
0 replies
Answer selected byelongl
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
Q&A
Labels
None yet
2 participants
@elongl@JohnVillalovos
Converted from issue

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


[8]ページ先頭

©2009-2025 Movatter.jp