We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5697506 commit 1fe513aCopy full SHA for 1fe513a
src/lettermint/client.py
@@ -2,6 +2,8 @@
2
3
from __future__ import annotations
4
5
+import platform
6
+from importlib.metadata import version
7
from typing import Any
8
9
import httpx
@@ -41,6 +43,7 @@ def __init__(
41
43
headers={
42
44
"Content-Type": "application/json",
45
"Accept": "application/json",
46
+ "User-Agent": f"Lettermint/{version('lettermint')} (Python; python {platform.python_version()})",
47
"x-lettermint-token": self._api_token,
48
},
49
)
@@ -218,6 +221,7 @@ def __init__(
218
221
219
222
220
223
224
225
226
227
0 commit comments