← 返回首页
fix(users): allow 'update' API without required email/name/username rewrites by AdrianDC · Pull Request #3332 · 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

fix(users): allow 'update' API without required email/name/username rewrites#3332

Open
AdrianDC wants to merge 1 commit into
python-gitlab:mainfrom
AdrianDC:users-update-required
Open

fix(users): allow 'update' API without required email/name/username rewrites#3332
AdrianDC wants to merge 1 commit into
python-gitlab:mainfrom
AdrianDC:users-update-required

Conversation

Copy link
Copy Markdown
Contributor

Changes

Allow 'update' API without required email/name/username rewrites : https://docs.gitlab.com/api/users/#modify-a-user

Documentation and testing

Please consider whether this PR needs documentation and tests. This is not required, but highly appreciated:

gitlab user update --id '42' --name 'Bruce WAYNE'
  • Documentation automatically generated
  • No test added as most other settings are not implemented in tests/functional/cli/test_cli_v4.py

…ewrites Signed-off-by: Adrian DC <radian.dc@gmail.com>
Copy link
Copy Markdown

codecov Bot commented Jan 22, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.75%. Comparing base (397cf39) to head (df9a5b3).
⚠️ Report is 63 commits behind head on main.

Additional details and impacted files
@@ Coverage Diff @@ ## main #3332 +/- ## ========================================== - Coverage 97.32% 95.75% -1.58% ========================================== Files 98 98 Lines 6062 6054 -8 ========================================== - Hits 5900 5797 -103 - Misses 162 257 +95
Flag Coverage Δ
api_func_v4 83.54% <ø> (-0.06%) ⬇️
cli_func_v4 78.67% <ø> (-6.00%) ⬇️
unit 90.17% <ø> (-0.03%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
gitlab/v4/objects/users.py 98.80% <ø> (-0.41%) ⬇️

... and 15 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Footer

© 2026 GitHub, Inc.