Skip to main content

DataReference

This class defines a reference to a data location.

Methods​


Split()​

@classmethod
def Split() - > (scheme, container, key string, err error)

Splits the DataReference into its constituent parts: scheme, container, key string, and an error if parsing fails. Callers use this to deconstruct a data reference into its protocol, storage location, and specific identifier.

Returns​

TypeDescription
(scheme, container, key string, err error)A tuple containing the scheme, container, key string, and an error if the split operation encounters an issue.

String()​

@classmethod
def String() - > string

Returns the string representation of the DataReference. Callers use this to get the full string path of the data reference.

Returns​

TypeDescription
stringThe string representation of the DataReference.