MCPcopy Create free account
hub / github.com/VJBots/VJ-File-Store / parse_from_env

Method parse_from_env

TechVJ/utils/config_parser.py:14–23  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

12 self.config_file = config_file
13
14 def parse_from_env(self) -> Dict[int, str]:
15 self.tokens = dict(
16 (c + 1, t)
17 for c, (_, t) in enumerate(
18 filter(
19 lambda n: n[0].startswith("MULTI_TOKEN"), sorted(environ.items())
20 )
21 )
22 )
23 return self.tokens

Callers 1

initialize_clientsFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected