Exemplo n.º 1
0
 def _channel(self):
     if self._channel_data is None:
         self._channel_data = model.fetch_channel(self.package, self.name)
     return self._channel_data
Exemplo n.º 2
0
 def get(cls, name, package):
     chanview = model.fetch_channel(package, name, with_releases=False)
     return cls(name, package, chanview.current)