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

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected