We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 2a142a4 + 72cfbec commit e13a1a0Copy full SHA for e13a1a0
fhirsnake/watch.py
@@ -6,7 +6,7 @@
6
from converter import convert_questionnaire_fce_to_fhir
7
from files import load_resource
8
from initial_resources import RESOURCE_DIR
9
-from utils import replace_urn_uuid_with_reference
+from utils import replace_urn_uuid_with_reference, substitute_env_vars
10
from watchdog.events import FileSystemEventHandler
11
from watchdog.observers import Observer
12
@@ -71,6 +71,11 @@ def process_file(self, file_path):
71
except Exception as exc:
72
logging.exception("Failed to convert uris to references: %s", exc)
73
74
+ try:
75
+ resource = substitute_env_vars(resource)
76
+ except Exception as exc:
77
+ logging.exception("Failed to substitute env vars")
78
+
79
try:
80
response = requests.put(
81
url,
0 commit comments