Skip to content

chore(dev): modernize code in users modules for SCIM examples - #613

Merged
tonyyli-wandb merged 2 commits into
masterfrom
tonyyli/chore_dev_modernize_users.py_module
Oct 9, 2025
Merged

tonyyli-wandb merged 2 commits into
masterfrom
tonyyli/chore_dev_modernize_users.py_module

Conversation

@tonyyli-wandb

@tonyyli-wandb tonyyli-wandb commented Sep 25, 2025 •

Copy link
Copy Markdown
Contributor

Summary

PR follows up on (downstack PR) #612 with minor cleanup changes to any modules edited in that PR. Specifically, this PR updates the following files:

  • wandb-scim/users.py
  • wandb-scim/examples/user_example.py

... by adding type hints, locally applying linters/formatters, and rewriting some snippets to follow more idiomatic (language-specific) patterns or to use convenience features from existing dependencies (e.g. HTTPBasicAuth from requests).

tonyyli-wandb commented Sep 25, 2025 •

Copy link
Copy Markdown
Contributor Author

@tonyyli-wandb
tonyyli-wandb marked this pull request as ready for review September 25, 2025 23:12
@tonyyli-wandb tonyyli-wandb changed the title chore(dev): modernize users.py module chore(dev): modernize code in users modules for SCIM examples Sep 25, 2025
@tonyyli-wandb
tonyyli-wandb force-pushed the tonyyli/chore_dev_modernize_users.py_module branch from 8590822 to 40d35e3 Compare September 25, 2025 23:21
@tonyyli-wandb
tonyyli-wandb force-pushed the tonyyli/chore_registries_add_scim_examples_for_user_registryroles_operations branch 2 times, most recently from db4030d to cbe3126 Compare September 25, 2025 23:29
@tonyyli-wandb
tonyyli-wandb force-pushed the tonyyli/chore_dev_modernize_users.py_module branch from 40d35e3 to 9d883e8 Compare September 25, 2025 23:29
@tonyyli-wandb
tonyyli-wandb force-pushed the tonyyli/chore_registries_add_scim_examples_for_user_registryroles_operations branch from cbe3126 to 0d31492 Compare September 25, 2025 23:31
@tonyyli-wandb
tonyyli-wandb force-pushed the tonyyli/chore_dev_modernize_users.py_module branch from 9d883e8 to e7eaab5 Compare September 25, 2025 23:31
@mdlinville
mdlinville self-requested a review October 6, 2025 19:13

@mdlinville mdlinville left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docs LGTM

Comment thread wandb-scim/examples/user_example.py Resolved
Comment thread wandb-scim/users.py Resolved
Comment thread wandb-scim/users.py Resolved
Comment thread wandb-scim/users.py Resolved
Comment thread wandb-scim/users.py Resolved
Comment thread wandb-scim/users.py Resolved
Comment thread wandb-scim/users.py Resolved
@tonyyli-wandb
tonyyli-wandb force-pushed the tonyyli/chore_dev_modernize_users.py_module branch from 223272c to f47387a Compare October 9, 2025 17:56
@tonyyli-wandb
tonyyli-wandb force-pushed the tonyyli/chore_registries_add_scim_examples_for_user_registryroles_operations branch from 0d31492 to c12b72f Compare October 9, 2025 17:56
Base automatically changed from tonyyli/chore_registries_add_scim_examples_for_user_registryroles_operations to master October 9, 2025 20:03
@tonyyli-wandb
tonyyli-wandb force-pushed the tonyyli/chore_dev_modernize_users.py_module branch from f47387a to c8acf3d Compare October 9, 2025 20:04
@tonyyli-wandb
tonyyli-wandb merged commit 7323cc4 into master Oct 9, 2025
@tonyyli-wandb
tonyyli-wandb deleted the tonyyli/chore_dev_modernize_users.py_module branch October 9, 2025 21:06
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.

2 participants