Skip to content

How to get short project description? #1989

@mbanders

Description

@mbanders

Description of the problem, including code/CLI snippet

I read https://python-gitlab.readthedocs.io/en/stable/gl_objects/projects.html

But I didn't find a reference to the short project "description".

The gitlab API mentions a short "description" for Projects here: https://docs.gitlab.com/ee/api/projects.html#create-project
I think that the same as using the web interface Settings -> General -> Project description.

Can we retrieve this short description using python-gitlab?

Expected Behavior

Be able to retrieve the short project description.

Actual Behavior

Specifications

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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