decentriq_platform.connection
Classes
AttestationSpecification
AttestationSpecification(
*args,
**kwargs,
)
A ProtocolMessage
Ancestors (in MRO)
- google.protobuf.pyext._message.CMessage
- google.protobuf.message.Message Instance variables
amdSnp
: Field attestation.AttestationSpecification.amdSnp
awsNitro
: Field attestation.AttestationSpecification.awsNitro
intelDcap
: Field attestation.AttestationSpecification.intelDcap
intelDcapMrsigner
: Field attestation.AttestationSpecification.intelDcapMrsigner
intelEpid
: Field attestation.AttestationSpecification.intelEpid
Connection
Connection(
driver_attestation_specification: attestation_pb2.AttestationSpecification,
api: decentriq_platform.api.Api,
graphql_api: decentriq_platform.graphql.GqlClient,
unsafe_disable_known_root_ca_check: bool = False,
max_retries: int = 5,
)
Class that wraps a Channel and re-creates the enclave connection in case of exceptions
send_compilable_request
def send_compilable_request(
self,
compile_request: Callable[[~CompilerRequest, decentriq_platform.channel.Channel], bytes],
request: ~CompilerRequest,
decompile_response: Callable[[List[bytes]], ~CompilerResponse],
protocol: int,
) ‑> ~CompilerResponse
send_request
def send_request(
self,
request: gcg_pb2.GcgRequest,
protocol: int,
auth: decentriq_platform.authentication.Auth,
) ‑> List[gcg_pb2.GcgResponse]
send_request_raw
def send_request_raw(
self,
request: bytes,
protocol: int,
) ‑> List[bytes]
send_request_v2
def send_request_v2(
self,
request: gcg_pb2.GcgRequestV2,
) ‑> gcg_pb2.GcgResponseV2
GcgRequest
GcgRequest(
*args,
**kwargs,
)
A ProtocolMessage
Ancestors (in MRO)
- google.protobuf.pyext._message.CMessage
- google.protobuf.message.Message Instance variables
casAuxiliaryStateRequest
: Field gcg.GcgRequest.casAuxiliaryStateRequest
createConfigurationCommitRequest
: Field gcg.GcgRequest.createConfigurationCommitRequest
createDataRoomRequest
: Field gcg.GcgRequest.createDataRoomRequest
endorsementRequest
: Field gcg.GcgRequest.endorsementRequest
executeComputeRequest
: Field gcg.GcgRequest.executeComputeRequest
executeDevelopmentComputeRequest
: Field gcg.GcgRequest.executeDevelopmentComputeRequest
generateMergeApprovalSignatureRequest
: Field gcg.GcgRequest.generateMergeApprovalSignatureRequest
getResultsRequest
: Field gcg.GcgRequest.getResultsRequest
getResultsSizeRequest
: Field gcg.GcgRequest.getResultsSizeRequest
jobStatusRequest
: Field gcg.GcgRequest.jobStatusRequest
mergeConfigurationCommitRequest
: Field gcg.GcgRequest.mergeConfigurationCommitRequest
publishDatasetToDataRoomRequest
: Field gcg.GcgRequest.publishDatasetToDataRoomRequest
readAuxiliaryStateRequest
: Field gcg.GcgRequest.readAuxiliaryStateRequest
removePublishedDatasetRequest
: Field gcg.GcgRequest.removePublishedDatasetRequest
retrieveAuditLogRequest
: Field gcg.GcgRequest.retrieveAuditLogRequest
retrieveConfigurationCommitApproversRequest
: Field gcg.GcgRequest.retrieveConfigurationCommitApproversRequest
retrieveConfigurationCommitRequest
: Field gcg.GcgRequest.retrieveConfigurationCommitRequest
retrieveCurrentDataRoomConfigurationRequest
: Field gcg.GcgRequest.retrieveCurrentDataRoomConfigurationRequest
retrieveDataRoomRequest
: Field gcg.GcgRequest.retrieveDataRoomRequest
retrieveDataRoomStatusRequest
: Field gcg.GcgRequest.retrieveDataRoomStatusRequest
retrievePublishedDatasetsRequest
: Field gcg.GcgRequest.retrievePublishedDatasetsRequest
retrieveUsedAirlockQuotaRequest
: Field gcg.GcgRequest.retrieveUsedAirlockQuotaRequest
updateDataRoomStatusRequest
: Field gcg.GcgRequest.updateDataRoomStatusRequest
userAuth
: Field gcg.GcgRequest.userAuth
GcgRequestV2
GcgRequestV2(
*args,
**kwargs,
)
A ProtocolMessage
Ancestors (in MRO)
- google.protobuf.pyext._message.CMessage
- google.protobuf.message.Message Instance variables
authenticated
: Field gcg.GcgRequestV2.authenticated
unauthenticated
: Field gcg.GcgRequestV2.unauthenticated
GcgResponse
GcgResponse(
*args,
**kwargs,
)
A ProtocolMessage
Ancestors (in MRO)
- google.protobuf.pyext._message.CMessage
- google.protobuf.message.Message Instance variables
casAuxiliaryStateResponse
: Field gcg.GcgResponse.casAuxiliaryStateResponse
createConfigurationCommitResponse
: Field gcg.GcgResponse.createConfigurationCommitResponse
createDataRoomResponse
: Field gcg.GcgResponse.createDataRoomResponse
endorsementResponse
: Field gcg.GcgResponse.endorsementResponse
executeComputeResponse
: Field gcg.GcgResponse.executeComputeResponse
failure
: Field gcg.GcgResponse.failure
generateMergeApprovalSignatureResponse
: Field gcg.GcgResponse.generateMergeApprovalSignatureResponse
getResultsResponseChunk
: Field gcg.GcgResponse.getResultsResponseChunk
getResultsResponseFooter
: Field gcg.GcgResponse.getResultsResponseFooter
getResultsSizeResponse
: Field gcg.GcgResponse.getResultsSizeResponse
jobStatusResponse
: Field gcg.GcgResponse.jobStatusResponse
mergeConfigurationCommitResponse
: Field gcg.GcgResponse.mergeConfigurationCommitResponse
publishDatasetToDataRoomResponse
: Field gcg.GcgResponse.publishDatasetToDataRoomResponse
readAuxiliaryStateResponse
: Field gcg.GcgResponse.readAuxiliaryStateResponse
removePublishedDatasetResponse
: Field gcg.GcgResponse.removePublishedDatasetResponse
retrieveAuditLogResponse
: Field gcg.GcgResponse.retrieveAuditLogResponse
retrieveConfigurationCommitApproversResponse
: Field gcg.GcgResponse.retrieveConfigurationCommitApproversResponse
retrieveConfigurationCommitResponse
: Field gcg.GcgResponse.retrieveConfigurationCommitResponse
retrieveCurrentDataRoomConfigurationResponse
: Field gcg.GcgResponse.retrieveCurrentDataRoomConfigurationResponse
retrieveDataRoomResponse
: Field gcg.GcgResponse.retrieveDataRoomResponse
retrieveDataRoomStatusResponse
: Field gcg.GcgResponse.retrieveDataRoomStatusResponse
retrievePublishedDatasetsResponse
: Field gcg.GcgResponse.retrievePublishedDatasetsResponse
retrieveUsedAirlockQuotaResponse
: Field gcg.GcgResponse.retrieveUsedAirlockQuotaResponse
updateDataRoomStatusResponse
: Field gcg.GcgResponse.updateDataRoomStatusResponse
GcgResponseV2
GcgResponseV2(
*args,
**kwargs,
)
A ProtocolMessage
Ancestors (in MRO)
- google.protobuf.pyext._message.CMessage
- google.protobuf.message.Message Instance variables
failure
: Field gcg.GcgResponseV2.failure
success
: Field gcg.GcgResponseV2.success