CMS 3D CMS Logo

List of all members | Public Member Functions
data_sources.data_source Class Reference
Inheritance diagram for data_sources.data_source:
data_sources.node data_sources.json_file data_sources.sqlite_schema

Public Member Functions

def __init__ (self)
 
def __repr__ (self)
 
def get_data (self)
 
- Public Member Functions inherited from data_sources.node
def __init__ (self, data=None)
 
def __str__ (self)
 
def add_child (self, node_data)
 
def child (self, index)
 
def children (self)
 
def data (self)
 
def is_leaf (self)
 
def left_child (self)
 
def right_child (self)
 

Detailed Description

Definition at line 45 of file data_sources.py.

Constructor & Destructor Documentation

◆ __init__()

def data_sources.data_source.__init__ (   self)

Definition at line 47 of file data_sources.py.

47  def __init__(self):
48  pass
49 

Member Function Documentation

◆ __repr__()

def data_sources.data_source.__repr__ (   self)

Definition at line 53 of file data_sources.py.

53  def __repr__(self):
54  return "<data_source>"
55 
56 # a json file data source first reads json from the file given, and then provides methods to navigate it and select fields

Referenced by data_sources.json_file.__str__().

◆ get_data()

def data_sources.data_source.get_data (   self)

Definition at line 50 of file data_sources.py.

50  def get_data(self):
51  return []
52 

Referenced by dqm_interfaces.DQMcommunicator.get_samples(), and dqm_interfaces.DQMcommunicator.ls_url().

dataLoader.get_data
def get_data(filename)
Definition: dataLoader.py:191