示例#1
0
文件: op.py 项目: wingkitlee0/guildai
 def resolve_deps(self):
     assert self._run is not None
     ctx = deps.ResolutionContext(target_dir=self._run.path,
                                  opdef=self.opdef,
                                  resource_config=self.resource_config)
     resolved = deps.resolve(self.opdef.dependencies, ctx)
     self._run.write_attr("deps", _sort_resolved(resolved))
     self._maybe_write_label(resolved)
示例#2
0
文件: op.py 项目: pombredanne/guild
 def _resolve_deps(self):
     assert self._run is not None
     ctx = deps.ResolutionContext(target_dir=self._run.path,
                                  opdef=self.opdef)
     deps.resolve(self.opdef.dependencies, ctx)