Skip to content
Open
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions src/hume/core/client_wrapper.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# This file was auto-generated by Fern from our API Definition.

import typing

import httpx

from importlib.metadata import version

from .http_client import AsyncHttpClient, HttpClient


Expand All @@ -17,7 +17,10 @@ def get_headers(self, include_auth: bool = True) -> typing.Dict[str, str]:
headers: typing.Dict[str, str] = {
"X-Fern-Language": "Python",
"X-Fern-SDK-Name": "hume",
"X-Fern-SDK-Version": "1.0.0",
"X-Fern-SDK-Version": version("hume"),
"X-Fern-Language": "Python",
"X-Hume-Client-Name": "python_sdk",
"X-Hume-Client-Version": version("hume"),
}
if self.api_key is not None and include_auth:
headers["X-Hume-Api-Key"] = self.api_key
Expand Down
Loading