Skip to content

Commit 3a27fa9

Browse files
committed
Update docs def remove_users
1 parent 0e9596f commit 3a27fa9

3 files changed

Lines changed: 8 additions & 4 deletions

File tree

src/superannotate/lib/app/interface/base_interface.py

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import os
21
import functools
32
import json
3+
import os
44
import platform
55
import sys
66
import typing
@@ -141,7 +141,11 @@ def get_default_payload(team_name, user_email):
141141
def __init__(self, function):
142142
self.function = function
143143
self._client = None
144-
self.skip_flag = os.environ.get("SA_SKIP_METRICS", "False").lower() in ("true", "1", "t")
144+
self.skip_flag = os.environ.get("SA_SKIP_METRICS", "False").lower() in (
145+
"true",
146+
"1",
147+
"t",
148+
)
145149
functools.update_wrapper(self, function)
146150

147151
def get_client(self):

src/superannotate/lib/app/interface/sdk_interface.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5430,7 +5430,7 @@ def remove_users(self, users: Union[List[int], List[str]]):
54305430
Request Example:
54315431
::
54325432
5433-
SAClient.remove_users(member=["example@gmail.com","example1@gmail.com"])
5433+
sa_client.remove_users(users=["example@gmail.com","example1@gmail.com"])
54345434
54355435
"""
54365436
success = 0

src/superannotate/lib/core/entities/multimodal_form.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ def generate_classes(self) -> List[Dict[str, Any]]:
305305
"webComponent",
306306
"pdfComponent",
307307
"link",
308-
"upload"
308+
"upload",
309309
}
310310

311311
number_components = {"number", "rating", "slider", "voting"}

0 commit comments

Comments
 (0)