diff --git a/src/astroidapi/test.py b/src/astroidapi/test.py deleted file mode 100644 index 08cae8f..0000000 --- a/src/astroidapi/test.py +++ /dev/null @@ -1,11 +0,0 @@ -def convert_keys_to_dotted(json_data, parent_key=""): - dotted_dict = {} - for key, value in json_data.items(): - if isinstance(value, dict): - dotted_dict.update(convert_keys_to_dotted(value, f"{parent_key}{key}.")) - else: - dotted_dict[f"{parent_key}{key}"] = value - return dotted_dict - - -print(convert_keys_to_dotted({"a": {"b": {"c": 1}}})) \ No newline at end of file