Skip to content
Snippets Groups Projects
Verified Commit c0b27ba5 authored by Daniel Hornung's avatar Daniel Hornung
Browse files

MAINT: Removed unnecessary function.

parent 299922bf
No related branches found
No related tags found
2 merge requests!100WIP: Filling XLSX: Seems to be working.,!93Filling XLSX: Everything except multiple choice.
Pipeline #48266 passed
......@@ -60,14 +60,6 @@ def _get_column_types(sheet: Worksheet) -> OrderedDict:
return result
def _get_deep_value(data: Dict[str, Any], path: List[str]):
"""Return the value at ``path`` inside the dict ``data``.
"""
if len(path) > 1:
return _get_deep_value(data[path[0]], path[1:])
return data[path[0]]
def _get_foreign_key_columns(sheet: Worksheet) -> Dict[str, SimpleNamespace]:
"""Return the foreign keys of the worksheet.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment