Skip to content

Data stream generator

RuntimeType

Bases: Enum

Runtime type names for the attributes of a data stream.

ATTRIBUTE DESCRIPTION
STRING

BOOLEAN

DOUBLE

FLOAT

INTEGER

LONG

create_data_stream(name, attributes, stream_id=None)

Creates a data stream

PARAMETER DESCRIPTION
name

Name of the data stream to be shown at the UI.

TYPE: str

attributes

Name and types of the attributes.

TYPE: Dict[str, str]

stream_id

The id of this data stream.

TYPE: Optional[str] DEFAULT: None

RETURNS DESCRIPTION
data_stream

The created data stream

TYPE: DataStream