Functions | |
def | _dicts_to_orm_objects (model, data) |
def | _objects_to_dicts (data) |
def | _to_array_of_dicts (data) |
def | _to_datatables (data) |
def | apply_function (data, function, key) |
def | objects_to_dicts (script) |
def | query (script) |
def | to_array_of_dicts (script) |
def | to_datatables (script) |
def | to_sql_query (data) |
This file holds decorator functions that can rearrange data returned from data sources. They should be used to decorate the method that holds the script that is being passed to the framework. Note: may also contain a decorator that can wrap a class around a function that contains a script (future development).
|
private |
Definition at line 102 of file data_formats.py.
Referenced by models.generate(), and data_formats_tests.data_formats_tests.test_dicts_to_orm_objects().
|
private |
Definition at line 96 of file data_formats.py.
Referenced by data_sources.json_list.as_table(), objects_to_dicts(), data_formats_tests.data_formats_tests.test_dicts_to_orm_objects(), and data_formats_tests.data_formats_tests.test_orm_objects_to_dicts().
|
private |
Definition at line 59 of file data_formats.py.
References data, cmsPerfStripChart.dict, genParticles_cff.map, harvestTrackValidationPlots.str, and ComparisonHelper.zip().
Referenced by to_array_of_dicts().
|
private |
Definition at line 74 of file data_formats.py.
References data, relativeConstraints.keys, genParticles_cff.map, harvestTrackValidationPlots.str, and MuonErrorMatrixValues_cff.values.
def data_formats.apply_function | ( | data, | |
function, | |||
key | |||
) |
Definition at line 88 of file data_formats.py.
def data_formats.objects_to_dicts | ( | script | ) |
Definition at line 48 of file data_formats.py.
References _objects_to_dicts(), and harvestTrackValidationPlots.str.
def data_formats.query | ( | script | ) |
def data_formats.to_array_of_dicts | ( | script | ) |
Definition at line 17 of file data_formats.py.
References _to_array_of_dicts(), and harvestTrackValidationPlots.str.
def data_formats.to_datatables | ( | script | ) |
Definition at line 28 of file data_formats.py.
References reco.if(), and harvestTrackValidationPlots.str.
def data_formats.to_sql_query | ( | data | ) |
Definition at line 84 of file data_formats.py.