From fd4baef24760c28074e047346c4dc6a7512ab4ed Mon Sep 17 00:00:00 2001 From: Steve Nyemba Date: Tue, 21 Nov 2023 13:10:29 -0600 Subject: [PATCH] v2.0: refactor --- healthcareio/x12/util/common.py | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 healthcareio/x12/util/common.py diff --git a/healthcareio/x12/util/common.py b/healthcareio/x12/util/common.py deleted file mode 100644 index 5ce48dc..0000000 --- a/healthcareio/x12/util/common.py +++ /dev/null @@ -1,32 +0,0 @@ -# class Common : -# def parent(self,**_args): -# """ -# This function returns the "parent" pointer associated with a given element -# :meta meta data of a decorated/annotated function -# """ -# _meta = _args['meta'] -# _item = None - -# if 'parent' in _meta : #hasattr(_meta,'parent'): -# _hasField = 'field' in _meta -# _hasParent= _meta['element'] in self._parents -# if _hasField and _hasParent: #_meta.element in self._parents and hasattr(_meta,'field'): - -# self._last = _item -# pass -# else: -# for key in self._parents : -# if _meta.element in self._parents[key] : - -# _ikey = list(self._last.keys())[0] -# _oldinfo = self._last[_ikey] -# if type(_oldinfo) != dict : -# # -# # Only applicable against a dictionary not a list (sorry) -# pass -# else: -# _item = {_ikey: self.merge(_oldinfo,_item)} - -# break -# pass -# return _item