File tree Expand file tree Collapse file tree 2 files changed +5
-12
lines changed
libs/labelbox/src/labelbox Expand file tree Collapse file tree 2 files changed +5
-12
lines changed Original file line number Diff line number Diff line change @@ -93,8 +93,7 @@ def python_version_info():
93
93
class Client :
94
94
"""A Labelbox client.
95
95
96
- Contains info necessary for connecting to a Labelbox server (URL,
97
- authentication key). Provides functions for querying and creating
96
+ Provides functions for querying and creating
98
97
top-level data objects (Projects, Datasets).
99
98
"""
100
99
Original file line number Diff line number Diff line change @@ -25,11 +25,10 @@ def python_version_info():
25
25
26
26
27
27
class RequestClient :
28
- """A Labelbox client.
28
+ """A Labelbox request client.
29
29
30
30
Contains info necessary for connecting to a Labelbox server (URL,
31
- authentication key). Provides functions for querying and creating
32
- top-level data objects (Projects, Datasets).
31
+ authentication key).
33
32
"""
34
33
35
34
def __init__ (
@@ -40,13 +39,8 @@ def __init__(
40
39
app_url = "https://app.labelbox.com" ,
41
40
rest_endpoint = "https://api.labelbox.com/api/v1" ,
42
41
):
43
- """Creates and initializes a Labelbox Client.
44
-
45
- Logging is defaulted to level WARNING. To receive more verbose
46
- output to console, update `logging.level` to the appropriate level.
47
-
48
- >>> logging.basicConfig(level = logging.INFO)
49
- >>> client = Client("<APIKEY>")
42
+ """Creates and initializes a RequestClient.
43
+ This class executes graphql and rest requests to the Labelbox server.
50
44
51
45
Args:
52
46
api_key (str): API key. If None, the key is obtained from the "LABELBOX_API_KEY" environment variable.
You can’t perform that action at this time.
0 commit comments