GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — python-gitlab/docs/gl_objects/gitlab_features.rst at main · python-gitlab/python-gitlab

Expand file tree

/

gitlab_features.rst

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
37 lines (24 loc) · 871 Bytes
/

gitlab_features.rst

Copy path

File metadata and controls

37 lines (24 loc) · 871 Bytes
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

GitLab Development Feature Flags

Note

This API is for managing GitLab's internal development feature flags and requires administrator access. For project-level feature flags, see :doc:`project_feature_flags`.

Reference

  • v4 API:
    • :class:`gitlab.v4.objects.Feature`
    • :class:`gitlab.v4.objects.FeatureManager`
    • :attr:`gitlab.Gitlab.features`
  • GitLab API: https://docs.gitlab.com/api/features

Examples

List features:

features = gl.features.list(get_all=True)

Create or set a feature:

feature = gl.features.set(feature_name, True)
feature = gl.features.set(feature_name, 30)
feature = gl.features.set(feature_name, True, user=filipowm)
feature = gl.features.set(feature_name, 40, group=mygroup)

Delete a feature:

feature.delete()
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.