Skip to content

Commit ae281ef

Browse files
authored
fix: ROOT-177: factor out version to constant and update it (#583)
1 parent 3dcf710 commit ae281ef

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/label_studio_sdk/core/client_wrapper.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44

55
from .http_client import AsyncHttpClient, HttpClient
66

7+
VERSION = "2.0.6"
78

89
class BaseClientWrapper:
910
def __init__(
@@ -33,7 +34,7 @@ def get_headers(self) -> typing.Dict[str, str]:
3334
headers: typing.Dict[str, str] = {
3435
"X-Fern-Language": "Python",
3536
"X-Fern-SDK-Name": "label-studio-sdk",
36-
"X-Fern-SDK-Version": "1.0.11",
37+
"X-Fern-SDK-Version": VERSION,
3738
}
3839
if self._tokens_client._use_legacy_token:
3940
headers["Authorization"] = f"Token {self._tokens_client.api_key}"

0 commit comments

Comments
 (0)