示例#1
0
文件: cnr_backend.py 项目: zhill/quay
 def _channel(self):
     if self._channel_data is None:
         self._channel_data = model.fetch_channel(self.package, self.name)
     return self._channel_data
示例#2
0
文件: cnr_backend.py 项目: zhill/quay
 def get(cls, name, package):
     chanview = model.fetch_channel(package, name, with_releases=False)
     return cls(name, package, chanview.current)