MCPcopy Create free account
hub / github.com/dwavesystems/dwave-cloud-client / default_user_agent

Function default_user_agent

dwave/cloud/utils/http.py:167–170  ·  view source on GitHub ↗

Default user agent string to be used consistently across client(s).

()

Source from the content-addressed store, hash-verified

165
166# defined as a function rather than constant because env might change during runtime
167def default_user_agent() -> str:
168 """Default user agent string to be used consistently across client(s)."""
169 return user_agent(
170 name=__packagename__, version=__version__, include_platform_tags=False)
171
172
173def platform_tags() -> list[str]:

Callers 4

create_sessionMethod · 0.90
__init__Method · 0.90
_create_sessionMethod · 0.90

Calls 1

user_agentFunction · 0.85

Tested by 1