From f80d00e206e5f4f3cfa615fc2e7989466c4f5e57 Mon Sep 17 00:00:00 2001 From: BenSmithGreyGroup Date: Tue, 2 Jun 2026 15:26:51 +0100 Subject: [PATCH] changed header to camel-case to match with user agents accepted on the datalab side --- src/datalab_api/_base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/datalab_api/_base.py b/src/datalab_api/_base.py index b146986..9df17c5 100644 --- a/src/datalab_api/_base.py +++ b/src/datalab_api/_base.py @@ -85,7 +85,7 @@ def __init__(self, datalab_api_url: str, log_level: str = "WARNING"): self.log = logging.getLogger(__name__) self._http_client = httpx.Client - self._headers = {"User-Agent": f"Datalab Python API/{__version__}"} + self._headers = {"User-Agent": f"datalab-python-api/{__version__}"} self._detect_api_url()