decentriq_platform.data_connectors.gcs.export_connector
Classes
GcsExportConnector
GcsExportConnector(
name: str,
dcr_id: str,
client: Client,
session: Session,
connector_definition: NodeDefinition,
)
A GcsExportConnector which can export data to GCS.
Initialise a GcsExportConnector
.
Parameters:
name
: Name of theGcsExportConnector
.dcr_id
: ID of the DCR the connector is a member of.client
: AClient
object which can be used to perform operations such as uploading data and retrieving computation results.session
: The session with which to communicate with the enclave.connector_definition
: Definition of the GCS export connector.
Ancestors (in MRO)
- decentriq_platform.analytics.high_level_node.ComputationNode
- decentriq_platform.analytics.high_level_node.HighLevelNode
- abc.ABC
GcsExportConnectorDefinition
GcsExportConnectorDefinition(
name: str,
bucket: str,
credentials_dependency: str,
node_dependency: ExportNodeDependency,
)
Helper class that provides a standard way to create an ABC using inheritance.
Initialise a GcsExportConnectorDefinition
.
This class is used in order to construct a GcsExportConnector
.
Parameters:
name
: Name of theGcsExportConnectorDefinition
.bucket
: The name of the bucket that will store the object.credentials_dependency
: Name of the credentials node.node_dependency
: The name of the node who's data will be exported to GCS. This also defines the type of upload (raw, single file in a zip, entire zip contents).
Ancestors (in MRO)
- decentriq_platform.analytics.node_definitions.NodeDefinition
- abc.ABC Instance variables
required_workers
:
build
def build(
self,
dcr_id: str,
node_definition: NodeDefinition,
client: Client,
session: Session,
) ‑> GcsExportConnector
Construct a GcsExportConnector from the definition.
Parameters:
dcr_id
: ID of the DCR the connector is a member of.node_definition
: Definition of the GCS export connector.client
: AClient
object which can be used to perform operations such as uploading data and retrieving computation results.session
: The session with which to communicate with the enclave.