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

Lack of possibility do download an 'upload' #2961

Closed as not planned
Closed as not planned
Labels
@lumenn

Description

@lumenn

Description of the problem, including code/CLI snippet

There is currently no way [or can't find one] to download a discussion/project upload, and it is supported byGitLab API.
I'm willing to work on that feature, although i might need some guidance on how you'd like to see it implemented :)

Expected Behavior

Ability to use something like:

attachment=project.get_upload(filename)

Actual Behavior

There is no way to download an upload, but there is possibility to upload new ones:
https://python-gitlab.readthedocs.io/en/stable/gl_objects/projects.html#file-uploads
https://docs.gitlab.com/ee/api/projects.html#download-an-uploaded-file

Specifications

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions


      [8]ページ先頭

      ©2009-2025 Movatter.jp