Closed paul-tqh-nguyen closed 5 years ago
This patch will fix it.
We pass around a list of dicts of the form { AUTHOR : AUTHOR_LINK }.
When transforming this list of dicts into JSON as part of our ETL, we used to have a type conflict where we'd expect single dicts in _dwim_author_to_author_link_dictionary_wrt_mirror_link.
This led to our ETL not working.
This patch refactors _dwim_author_to_author_link_dictionary_wrt_mirror_link into _dwim_author_to_author_link_dictionaries_wrt_mirror_link (it does what it says it does, which is fix this issue entirely).
Here's the stack: