Open luandy64 opened 4 years ago
Searching through the repo, it seems like this function is only called in tests. Can we delete it? Or just move it into the tests?
ag --nocolor --literal --line-number --smart-case --nogroup --column --stats --hidden -- transform_for_key . tests/test_transform.py:7:36:from tap_kustomer.transform import transform_for_key tests/test_transform.py:41:24: transformed_data = transform_for_key(NESTED_VALID_DICTS, tests/test_transform.py:47:10:def test_transform_for_key_dict_list(): tests/test_transform.py:48:24: transformed_data = transform_for_key(DICTIONARY_LIST, transform.py:7:5:def transform_for_key(this_json, endpoint_config, data_key): 5 matches 2 files contained matches
https://github.com/singer-io/tap-kustomer/blob/9758bb74811fdb0cbae8baeaffca5fce382f97ed/tap_kustomer/transform.py#L7-L15
Searching through the repo, it seems like this function is only called in tests. Can we delete it? Or just move it into the tests?
https://github.com/singer-io/tap-kustomer/blob/9758bb74811fdb0cbae8baeaffca5fce382f97ed/tap_kustomer/transform.py#L7-L15