MCPcopy
hub / github.com/bugy/script-server / build_env_vars

Method build_env_vars

src/utils/env_utils.py:21–27  ·  view source on GitHub ↗
(self, extra_variables=None)

Source from the content-addressed store, hash-verified

19 self._variables.pop(hidden_var, None)
20
21 def build_env_vars(self, extra_variables=None):
22 result = dict(self._variables)
23
24 if extra_variables:
25 result.update(extra_variables)
26
27 return result
28
29
30def read_variable(variable_name, *, fail_on_missing=True):

Calls

no outgoing calls