MCPcopy
hub / github.com/apache/caldera / _load_sources

Method _load_sources

app/service/data_svc.py:330–332  ·  view source on GitHub ↗
(self, plugin)

Source from the content-addressed store, hash-verified

328 return ps
329
330 async def _load_sources(self, plugin):
331 for filename in glob.iglob('%s/sources/*.yml' % plugin.data_dir, recursive=False):
332 await self.load_yaml_file(Source, filename, plugin.access)
333
334 async def _load_objectives(self, plugin):
335 for filename in glob.iglob('%s/objectives/*.yml' % plugin.data_dir, recursive=False):

Callers 1

_loadMethod · 0.95

Calls 1

load_yaml_fileMethod · 0.95

Tested by

no test coverage detected