We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3032d22 commit be070c4Copy full SHA for be070c4
1 file changed
src/blueapi/client/rest.py
@@ -316,7 +316,11 @@ def run_blocking(self, req: TaskRequest):
316
if self._session_manager:
317
auth = self._session_manager.get_valid_access_token()
318
headers["Authorization"] = f"Bearer {auth}"
319
- with connect(url, additional_headers=headers) as ws:
+ with connect(
320
+ url,
321
+ additional_headers=headers,
322
+ user_agent_header="blueapi cli",
323
+ ) as ws:
324
ws.send(req.model_dump_json())
325
for message in ws:
326
event = TypeAdapter(AnyEvent).validate_json(message)
0 commit comments