Skip to content

Common

Classes of the StreamPipes data model that are commonly shared.

Bases: BasicModel

Data model of an ApplicationLink in compliance to the StreamPipes Backend.

BaseElement

Bases: BasicModel

Structure of a basic element in the StreamPipes backend

BasicModel

Bases: BaseModel

Basic model class used for the whole Python StreamPipes data model.

Config

Configuration class for Pydantic. Defines alias generator to convert field names from camelCase (API) to snake_case (Python codebase).

EventGrounding

Bases: BasicModel

Data model of an EventGrounding in compliance to the StreamPipes Backend.

EventProperty

Bases: BasicModel

Data model of an EventProperty in compliance to the StreamPipes Backend.

EventSchema

Bases: BasicModel

Data model of an EventSchema in compliance to the StreamPipes Backend.

MeasurementCapability

Bases: BasicModel

Data model of a MeasurementCapability in compliance to the StreamPipes Backend.

MeasurementObject

Bases: BasicModel

Data model of a MeasurementObject in compliance to the StreamPipes Backend.

TopicDefinition

Bases: BasicModel

Data model of a TopicDefinition in compliance to the StreamPipes Backend.

TransportFormat

Bases: BasicModel

Data model of a TransportFormat in compliance to the StreamPipes Backend.

TransportProtocol

Bases: BasicModel

Data model of a TransportProtocol in compliance to the StreamPipes Backend.

ValueSpecification

Bases: BasicModel

Data model of an ValueSpecification in compliance to the StreamPipes Backend.

random_letters(n)

Generates a string consisting of random letters.

PARAMETER DESCRIPTION
n

number of letters

TYPE: int

RETURNS DESCRIPTION
rand_str

String consisting of n random letters

TYPE: str