Skip to main content

NewDataReference

No overview available.

def NewDataReference(
scheme: string,
container: string,
key: string
) - > DataReference

Constructs a new DataReference string by formatting the provided scheme, container, and key into a URL-like string. Callers use this to create a standardized reference for data locations.

Parameters

NameTypeDescription
schemestringThe protocol or scheme for the data reference (e.g., "s3", "file", "http").
containerstringThe container or bucket name where the data is located.
keystringThe specific identifier or path within the container for the data.

Returns

TypeDescription
DataReferenceThe formatted DataReference string, typically in the format "scheme://container/key".