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 testing_classes.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(), testing_classes.data_formats_tests.test_dicts_to_orm_objects(), and testing_classes.data_formats_tests.test_orm_objects_to_dicts().
|
private |
Definition at line 59 of file data_formats.py.
References data, cmsPerfStripChart.dict, and ComparisonHelper.zip().
Referenced by to_array_of_dicts().
|
private |
Definition at line 74 of file data_formats.py.
References data, relativeConstraints.keys, and makeHLTPrescaleTable.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 cmsRelvalreport.exit.
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 cmsRelvalreport.exit.
def data_formats.to_datatables | ( | script | ) |
Definition at line 28 of file data_formats.py.
References cmsRelvalreport.exit, and reco.if().
Referenced by models.generate().
def data_formats.to_sql_query | ( | data | ) |
Definition at line 84 of file data_formats.py.