FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [View Raw Code]   [Original HTTPS Page]

python-gitlab/docs/gl_objects/settings.rst at v8.6.0 · python-gitlab/python-gitlab · GitHub

Repository navigation

Latest commit

 

History

History
26 lines (17 loc) · 409 Bytes

File metadata and controls

26 lines (17 loc) · 409 Bytes

Settings

Reference

  • v4 API:
    • :class:`gitlab.v4.objects.ApplicationSettings`
    • :class:`gitlab.v4.objects.ApplicationSettingsManager`
    • :attr:`gitlab.Gitlab.settings`
  • GitLab API: https://docs.gitlab.com/api/settings

Examples

Get the settings:

settings = gl.settings.get()

Update the settings:

settings.signin_enabled = False
settings.save()

Back | FazBrowse Home | New Git URL