← 返回首页
python-gitlab tutorials' issue · Issue #813 · python-gitlab/python-gitlab · GitHub
Skip to content

Navigation Menu

Toggle navigation
Sign in
Appearance settings
Search or jump to...

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

Provide feedback

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

Include my email address so I can be contacted

Saved searches

Use saved searches to filter your results more quickly

Appearance settings
Resetting focus

python-gitlab tutorials' issue #813

New issue
New issue

Description

Description of the problem, including code/CLI snippet

#1##
https://python-gitlab.readthedocs.io/en/stable/gl_objects/commits.html
"commits = project.commits.list(since='2016-01-01T00:00:00Z')"

#2##
https://github.com/python-gitlab/python-gitlab/blob/57fa4e37aaf6ccee0d75085520f96fd15752a3df/docs/gl_objects/commits.rst
python-gitlab/docs/gl_objects/commits.rst
"commits = project.commits.list(since='2016-01-01T00:00:00Z')"

Dear Sir/Miss,
I found there have something ambiguity in tutorials/github which where maybe need to change. Please check as following:

From #1##,#2## address's message, i thought when you searched commits info from '2016-01-01xx', maybe you need to add 'all=True' in commits.

If you use commits = project.commits.list(since='2016-01-01T00:00:00Z'), it will loses a lot of commits info, but commits = project.commits.list(all= True, since='2016-01-01T00:00:00Z') won't.

Could you please change this in tutorials/github, or add something comments on it. I hope this will more clear and useful for others. Maybe this will help you.

Expected Behavior

change the example;
old one : commits = project.commits.list(since='2016-01-01T00:00:00Z')
more clear way : commits = project.commits.list(all= True, since='2016-01-01T00:00:00Z')

Actual Behavior

Specifications

  • python-gitlab version:
  • API version you are using (v3/v4):
  • Gitlab server version (or gitlab.com):

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Footer

      © 2026 GitHub, Inc.