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 103 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 97 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 60 of file data_formats.py.
References data, cmsPerfStripChart.dict, genParticles_cff.map, str, and ComparisonHelper.zip().
Referenced by to_array_of_dicts().
|
private |
Definition at line 75 of file data_formats.py.
References data, relativeConstraints.keys, genParticles_cff.map, str, and MuonErrorMatrixValues_cff.values.
def data_formats.apply_function | ( | data, | |
function, | |||
key | |||
) |
Definition at line 89 of file data_formats.py.
def data_formats.objects_to_dicts | ( | script | ) |
def data_formats.query | ( | script | ) |
def data_formats.to_array_of_dicts | ( | script | ) |
def data_formats.to_datatables | ( | script | ) |
def data_formats.to_sql_query | ( | data | ) |
Definition at line 85 of file data_formats.py.