Common: Remove disused function get_value_from_dict()

This commit is contained in:
Mike Salvatore 2022-03-25 07:53:11 -04:00
parent bb854d2daf
commit 344530281a
1 changed files with 0 additions and 8 deletions

View File

@ -1,6 +1,5 @@
# abstract, static method decorator # abstract, static method decorator
# noinspection PyPep8Naming # noinspection PyPep8Naming
from typing import List
class abstractstatic(staticmethod): class abstractstatic(staticmethod):
@ -11,10 +10,3 @@ class abstractstatic(staticmethod):
function.__isabstractmethod__ = True function.__isabstractmethod__ = True
__isabstractmethod__ = True __isabstractmethod__ = True
def get_value_from_dict(dict_data: dict, path: List[str]):
current_data = dict_data
for key in path:
current_data = current_data[key]
return current_data