Steve Nyemba %!s(int64=4) %!d(string=hai) anos
pai
achega
9960682d98
Modificáronse 2 ficheiros con 10 adicións e 1 borrados
  1. 9 0
      healthcareio/export/export.py
  2. 1 1
      setup.py

+ 9 - 0
healthcareio/export/export.py

@@ -74,6 +74,15 @@ def meta(config) :
     """
     _info = []
     table_count = 1
+    cached = {}
+    for prefix in config :
+        if 'cache' in config[prefix] :
+            _cache  = config[prefix]['cache']
+            field   = _cache['field']
+            key     = _cache['key']
+            if 'map' in config[key]:
+                config[key]['map'][field] = -100
+
     for prefix in config :
         # if 'map' in config[prefix] :
             # label = list(set(['label','field']) & set(config[prefix].keys()))

+ 1 - 1
setup.py

@@ -8,7 +8,7 @@ import sys
 def read(fname):
     return open(os.path.join(os.path.dirname(__file__), fname)).read() 
 args = {
-    "name":"healthcareio","version":"1.6.3.1",
+    "name":"healthcareio","version":"1.6.3.2",
     "author":"Vanderbilt University Medical Center",
     "author_email":"steve.l.nyemba@vumc.org",
     "include_package_data":True,