Skip to content

Commit 64c6f6e

Browse files
committed
[terminology] add constructor that loads terminologies from cache
1 parent da1f157 commit 64c6f6e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

odml/terminology.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,10 @@ def cache_load(url):
6464

6565
class Terminologies(dict):
6666
loading = {}
67+
68+
def __init__(self):
69+
from_cache()
70+
6771
def load(self, url):
6872
"""
6973
load and cache a terminology-url

0 commit comments

Comments
 (0)