Skip to content

sift_py.data.service

CLASS DESCRIPTION
DataService

A service that asynchronously executes a sift_py.data.query.DataQuery to retrieve telemetry

DataService

DataService(channel: SiftAsyncChannel)

A service that asynchronously executes a sift_py.data.query.DataQuery to retrieve telemetry for an arbitrary amount of channels (or calculated channels) within a user-specified time-range and sampling rate.

METHOD DESCRIPTION
execute

Performs the actual query to retrieve telemetry.

ATTRIBUTE DESCRIPTION
AssetName

TYPE: TypeAlias

ChannelFqn

TYPE: TypeAlias

REQUEST_BATCH_SIZE

RunName

TYPE: TypeAlias

AssetName class-attribute instance-attribute

AssetName: TypeAlias = str

ChannelFqn class-attribute instance-attribute

ChannelFqn: TypeAlias = str

REQUEST_BATCH_SIZE class-attribute instance-attribute

REQUEST_BATCH_SIZE = 1

RunName class-attribute instance-attribute

RunName: TypeAlias = str

execute async

execute(
    query: DataQuery, bust_cache: bool = False
) -> DataQueryResult

Performs the actual query to retrieve telemetry.