We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8ed9f71 commit 136b784Copy full SHA for 136b784
irods/manager/user_manager.py
@@ -293,12 +293,11 @@ def create(
293
group_admin=None,
294
**options,
295
):
296
+ user_zone = options.pop("user_zone", "")
297
+ auth_str = options.pop("auth_str", "")
298
+ user_type = options.pop("user_type", "rodsgroup")
299
- if (
- (user_zone := options.pop("user_zone", "")) != ""
- or (auth_str := options.pop("auth_str", "")) != ""
300
- or (user_type := options.pop("user_type", "rodsgroup")) != "rodsgroup"
301
- ):
+ if user_zone != "" or auth_str != "" or user_type != "rodsgroup":
302
warnings.warn(
303
"Use of non-default value for auth_str, user_type or user_zone in GroupManager.create is deprecated",
304
DeprecationWarning,
0 commit comments