MCPcopy
hub / github.com/certbot/certbot / sample_user_agent

Function sample_user_agent

certbot/src/certbot/_internal/client.py:144–148  ·  view source on GitHub ↗

Document what this Certbot's user agent string will be like.

()

Source from the content-addressed store, hash-verified

142
143
144def sample_user_agent() -> str:
145 """Document what this Certbot's user agent string will be like."""
146 # DummyConfig is designed to mock certbot.configuration.NamespaceConfig.
147 # Let mypy accept that.
148 return determine_user_agent(cast(configuration.NamespaceConfig, DummyConfig()))
149
150
151def register(config: configuration.NamespaceConfig, account_storage: AccountStorage,

Callers 1

_create_subparsersFunction · 0.90

Calls 2

determine_user_agentFunction · 0.85
DummyConfigClass · 0.85

Tested by

no test coverage detected