MCPcopy Create free account
hub / github.com/AstroPrint/AstroBox / __init__

Method __init__

src/astroprint/cloud.py:62–68  ·  view source on GitHub ↗
(self, publicKey, privateKey, boxId, orgId = None,  groupId = None,)

Source from the content-addressed store, hash-verified

60
61class HMACAuth(requests.auth.AuthBase):
62 def __init__(self, publicKey, privateKey, boxId, orgId = None, groupId = None,):
63 self.publicKey = publicKey
64 self.privateKey = privateKey
65 self.groupId = groupId
66 self.orgId = orgId
67 self.boxId = boxId
68 self.isOnFleet = self.groupId and self.orgId
69
70 def updateFleetInfo(self, orgId = None, groupId = None):
71 self.groupId = groupId

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected