We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 327234c commit f2b658fCopy full SHA for f2b658f
pyfaasm/pyfaasm/core.py
@@ -16,8 +16,6 @@
16
17
18
def get_env_bool(var_name):
19
- global env_cache
20
-
21
if var_name not in env_cache:
22
value = os.environ.get(var_name)
23
env_cache[var_name] = bool(value)
@@ -26,7 +24,6 @@ def get_env_bool(var_name):
26
24
27
25
28
def set_env_bool(var_name, value):
29
30
env_cache[var_name] = value
31
32
@@ -76,7 +73,6 @@ def write_output(output):
76
73
77
74
def get_output():
78
75
if is_local_output():
79
- global output_data
80
return output_data
81
else:
82
raise RuntimeError(
0 commit comments