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.
References ReggeGribovPartonMC_EposLHC_2760GeV_PbPb_cfi.model, and FastTimerService_cff.range.
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.
References FastTimerService_cff.range.
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, 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, FastTimerService_cff.range, str, and contentValuesCheck.values.
def data_formats.apply_function | ( | data, | |
function, | |||
key | |||
) |
Definition at line 89 of file data_formats.py.
References HiBiasedCentrality_cfi.function, and FastTimerService_cff.range.
def data_formats.objects_to_dicts | ( | script | ) |
Definition at line 49 of file data_formats.py.
References _objects_to_dicts(), submitPVResolutionJobs.script, and str.
def data_formats.query | ( | script | ) |
def data_formats.to_array_of_dicts | ( | script | ) |
Definition at line 18 of file data_formats.py.
References _to_array_of_dicts(), submitPVResolutionJobs.script, and str.
def data_formats.to_datatables | ( | script | ) |
def data_formats.to_sql_query | ( | data | ) |
Definition at line 85 of file data_formats.py.