mantlebio.core.dataset.mantle_dataset module#
- class mantlebio.core.dataset.mantle_dataset.MantleDataset(dataset_input=None, session=None, storage_client=None, local=False, entity_input=None)[source]#
Bases:
_IDataset
- property entity: Entity#
Get the entity of the dataset.
- property entity_pb2: Entity#
Return the entity_pb2 object
- to_dict()[source]#
Convert the dataset to a dictionary.
- Returns:
The dataset as a dictionary.
- Return type:
Dict[str, Any]
- class mantlebio.core.dataset.mantle_dataset.MantleEntity(entity_input, session, storage_client)[source]#
Bases:
MantleDataset
- class mantlebio.core.dataset.mantle_dataset._IDataset(dataset_input, session, storage_client, local=False, entity_input=None)[source]#
Bases:
ResponseItem
- abstract add_s3_file_property(key, bucket, s3_key)[source]#
Add an S3 property to the dataset.
- Return type:
None
- abstract property entity: Entity#
Get the entity of the dataset.
- entity_pb2#
Return the entity_pb2 object