MCPcopy Index your code
hub / github.com/certbot/certbot / DummyConfig

Class DummyConfig

certbot/src/certbot/_internal/client.py:131–141  ·  view source on GitHub ↗

Shim for computing a sample user agent.

Source from the content-addressed store, hash-verified

129
130
131class DummyConfig:
132 """Shim for computing a sample user agent."""
133 def __init__(self) -> None:
134 self.authenticator = "XXX"
135 self.installer = "YYY"
136 self.user_agent = None
137 self.verb = "SUBCOMMAND"
138
139 def __getattr__(self, name: str) -> Any:
140 """Any config properties we might have are None."""
141 return None
142
143
144def sample_user_agent() -> str:

Callers 1

sample_user_agentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected