StreamInfoPath#

class servicex.servicex.StreamInfoPath(file: str, path: Path)[source]#

Bases: StreamInfoBase

Contains information about results that are streamed back from ServiceX. Used when the user has requested streaming, but copying the file locally first.

__init__(file: str, path: Path)[source]#

Attributes

file#

Returns the ServiceX filename

This filename is unique in the dataset, and will be the same across different queries against the dataset. It can be used as a key to sort results.

Notes:

  • May contains non-file system characters

Returns:

str: servicex filename

path#

Path the the local file of ServiceX data that represents this query.

Returns:

Path: The path object that points to the data requested.

url#

URI to the locally downloaded file.

Returns:

str: The URI of the transformed data for this file.

Methods