Skip to content

Commit a7ea66e

Browse files
authored
Use package version (#292)
1 parent c5c44ea commit a7ea66e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/hume/core/client_wrapper.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
import httpx
66

77
from .http_client import AsyncHttpClient, HttpClient
8+
from importlib.metadata import version
89

910

1011
class BaseClientWrapper:
@@ -17,7 +18,7 @@ def get_headers(self, include_auth: bool = True) -> typing.Dict[str, str]:
1718
headers: typing.Dict[str, str] = {
1819
"X-Fern-Language": "Python",
1920
"X-Fern-SDK-Name": "hume",
20-
"X-Fern-SDK-Version": "1.0.0",
21+
"X-Fern-SDK-Version": version("hume"),
2122
}
2223
if self.api_key is not None and include_auth:
2324
headers["X-Hume-Api-Key"] = self.api_key

0 commit comments

Comments
 (0)