MCPcopy Create free account
hub / github.com/NyarchLinux/DesktopPuppet / __init__

Method __init__

src/gui_controller.py:21–23  ·  view source on GitHub ↗
(self, host="localhost", port=42943)

Source from the content-addressed store, hash-verified

19 """Handles communication with the puppet API."""
20
21 def __init__(self, host="localhost", port=42943):
22 self.base_url = f"http://{host}:{port}"
23 self._connected = False
24
25 def is_connected(self):
26 """Check if the puppet API is reachable."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected