From 1208a7335036858c4f66f29b800ad01e292034e3 Mon Sep 17 00:00:00 2001 From: Jason <81298350+Deutscher775@users.noreply.github.com> Date: Mon, 23 Dec 2024 14:20:41 +0100 Subject: [PATCH] Delete src/astroidapi/test.py --- src/astroidapi/test.py | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 src/astroidapi/test.py 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