We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 018f4cb commit b5c01e6Copy full SHA for b5c01e6
1 file changed
src/blueapi/client/rest.py
@@ -282,7 +282,11 @@ def run_blocking(self, req: TaskRequest):
282
if self._session_manager:
283
auth = self._session_manager.get_valid_access_token()
284
headers["Authorization"] = f"Bearer {auth}"
285
- with connect(url, additional_headers=headers) as ws:
+ with connect(
286
+ url,
287
+ additional_headers=headers,
288
+ user_agent_header="blueapi cli",
289
+ ) as ws:
290
ws.send(req.model_dump_json())
291
for message in ws:
292
event = TypeAdapter(AnyEvent).validate_json(message)
0 commit comments