Steve Nyemba 1 rok temu
rodzic
commit
fd4baef247
1 zmienionych plików z 0 dodań i 32 usunięć
  1. 0 32
      healthcareio/x12/util/common.py

+ 0 - 32
healthcareio/x12/util/common.py

@@ -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