Functions | |
def | _dicts_to_orm_objects |
def | _objects_to_dicts |
def | _to_array_of_dicts |
def | _to_datatables |
def | apply_function |
def | objects_to_dicts |
def | query |
def | to_array_of_dicts |
def | to_datatables |
def | to_sql_query |
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.
References isotrackApplyRegressor.model, and sistrip::SpyUtilities.range().
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.
References sistrip::SpyUtilities.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 59 of file data_formats.py.
References data, str, and ComparisonHelper.zip().
Referenced by to_array_of_dicts().
|
private |
Definition at line 74 of file data_formats.py.
References data, relativeConstraints.keys, sistrip::SpyUtilities.range(), str, and makeHLTPrescaleTable.values.
def data_formats.apply_function | ( | data, | |
function, | |||
key | |||
) |
Definition at line 88 of file data_formats.py.
References callgraph.function, and sistrip::SpyUtilities.range().
def data_formats.objects_to_dicts | ( | script | ) |
Definition at line 48 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 17 of file data_formats.py.
References _to_array_of_dicts(), submitPVResolutionJobs.script, and str.
def data_formats.to_datatables | ( | script | ) |
Definition at line 28 of file data_formats.py.
References if(), submitPVResolutionJobs.script, and str.
def data_formats.to_sql_query | ( | data | ) |
Definition at line 84 of file data_formats.py.