Skip to content

Commit 0c6d7fd

Browse files
author
Val Brodsky
committed
Rename UserGroupUpload to UserGroupV2
1 parent 78a7e3d commit 0c6d7fd

File tree

3 files changed

+9
-3
lines changed

3 files changed

+9
-3
lines changed

docs/labelbox/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,5 +52,5 @@ Labelbox Python SDK Documentation
5252
task
5353
task-queue
5454
user
55-
user-group-upload
55+
user-group-v2
5656
webhook

docs/labelbox/user-group-v2.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
User Group
2+
===============================================================================================
3+
4+
.. automodule:: labelbox.schema.user_group_v2
5+
:members:
6+
:show-inheritance:

libs/labelbox/src/labelbox/schema/user_group_upload.py renamed to libs/labelbox/src/labelbox/schema/user_group_v2.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ class UploadReport:
5454
lines: List[UploadReportLine]
5555

5656

57-
class UserGroupUpload:
57+
class UserGroupV2:
5858
"""Upload members to a user group."""
5959

6060
def __init__(self, client: Client):
@@ -80,7 +80,7 @@ def upload_members(
8080
For indicvidual email errors, the error message is available in the UploadReport.
8181
"""
8282
warnings.warn(
83-
"The upload_members for UserGroupUpload is in beta. The method name and signature may change in the future.”",
83+
"The upload_members for UserGroupV2 is in beta. The method name and signature may change in the future.”",
8484
)
8585

8686
if len(emails) == 0:

0 commit comments

Comments
 (0)