Skip to content

Commit bbe3718

Browse files
author
Val Brodsky
committed
Update rdocs
1 parent 3ebdae5 commit bbe3718

File tree

2 files changed

+5
-12
lines changed

2 files changed

+5
-12
lines changed

libs/labelbox/src/labelbox/client.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,8 +93,7 @@ def python_version_info():
9393
class Client:
9494
"""A Labelbox client.
9595
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
9897
top-level data objects (Projects, Datasets).
9998
"""
10099

libs/labelbox/src/labelbox/request_client.py

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,11 +25,10 @@ def python_version_info():
2525

2626

2727
class RequestClient:
28-
"""A Labelbox client.
28+
"""A Labelbox request client.
2929
3030
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).
3332
"""
3433

3534
def __init__(
@@ -40,13 +39,8 @@ def __init__(
4039
app_url="https://app.labelbox.com",
4140
rest_endpoint="https://api.labelbox.com/api/v1",
4241
):
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.
5044
5145
Args:
5246
api_key (str): API key. If None, the key is obtained from the "LABELBOX_API_KEY" environment variable.

0 commit comments

Comments
 (0)