def get_sql_handler_fixture_lter_table(rebuild_test_database): data_sources = { MAIN_DATA_SOURCE: { DATA_SOURCE_TYPE: "penguin_lter_small" }, } return SqlHandler(data_sources)
def sql_handler_fixture(rebuild_test_database): data_sources = { MAIN_DATA_SOURCE: {DATA_SOURCE_TYPE: "penguin_size"}, ADDITIONAL_DATA_SOURCES: [ { DATA_SOURCE_TYPE: "mean_penguin_stat", JOIN_KEYS: [ ["penguin_size:study_name", "mean_penguin_stat:study_name"], ["penguin_size:sex", "mean_penguin_stat:sex"], ["penguin_size:species", "mean_penguin_stat:species"], ], } ], } return SqlHandler(data_sources)
def get_sql_handler_fixture_small(rebuild_test_database): return SqlHandler({MAIN_DATA_SOURCE: {DATA_SOURCE_TYPE: "penguin_size_small"}})
def get_sql_handler_fixture_temperature(rebuild_test_database): return SqlHandler({MAIN_DATA_SOURCE: {DATA_SOURCE_TYPE: "temperature"}})