DataSource Class

A datasource that can be used in a graph.

Inheritance
DataSource

Constructor

DataSource(datasource_id, datasource_def)

Parameters

datasource_id
str

The datasource ID.

datasource_def
DataSourceDef

The datasource definition object.

Attributes

DATASOURCE_PORT_NAME

DATASOURCE_PORT_NAME = 'data'