MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / GetKeyResponse

Class GetKeyResponse

sdk/python/src/dstack_sdk/dstack_client.py:142–150  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

140
141
142class GetKeyResponse(BaseModel):
143 key: str
144 signature_chain: List[str]
145
146 def decode_key(self) -> bytes:
147 return bytes.fromhex(self.key)
148
149 def decode_signature_chain(self) -> List[bytes]:
150 return [bytes.fromhex(chain) for chain in self.signature_chain]
151
152
153class GetQuoteResponse(BaseModel):

Callers 5

test_async_to_accountFunction · 0.90
test_sync_to_accountFunction · 0.90
get_keyMethod · 0.70

Calls

no outgoing calls

Tested by 4

test_async_to_accountFunction · 0.72
test_sync_to_accountFunction · 0.72