Skip to content

Commit 5de476c

Browse files
committed
LS client URL fixes
1 parent 06f5cc4 commit 5de476c

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

dagshub/ls_client.py

+5-6
Original file line numberDiff line numberDiff line change
@@ -26,17 +26,16 @@ def get_label_studio_client(
2626
repo: str, legacy_client: Optional[bool] = None, host: Optional[str] = None, token: Optional[str] = None
2727
):
2828
"""
29-
Creates a `label_studio_sdk.Client / label_studio_sdk.client.LabelStudio \
30-
<https://labelstud.io/guide/sdk> / \
31-
https://api.labelstud.io/api-reference/introduction/getting-started`.\
32-
object to interact with the label studio instance associated with the repository.
29+
Creates a
30+
`label_studio_sdk.client.LabelStudio <https://api.labelstud.io/api-reference/introduction/getting-started>`_ /
31+
`label_studio_sdk.Client (legacy) <https://labelstud.io/guide/sdk>`_
32+
object to interact with the LabelStudio instance associated with the repository.
3333
3434
Args:
3535
repo: Name of the repo in the format of ``username/reponame``
3636
legacy_client: if True, returns the older legacy LabelStudio Client.
3737
host: URL of the hosted DagsHub instance. default is ``https://dagshub.com``.
38-
token: (optional, default: None) uses programmatically specified token, \
39-
if not provided either uses cached token or requests oauth interactively.
38+
token: (optional, default: None) use this token for LS requests. By default, will use current user's token.
4039
4140
Returns:
4241
`label_studio_sdk.Client` / `label_studio_sdk.client.LabelStudio` object

0 commit comments

Comments
 (0)