def __init__(self, cfg, ui): PackageSource.__init__(self, cfg, ui) self._api = prism_rest_client.open(self._cfg.pkgcacheUri, verify=False) self._loaded = False self._cfg.synthesizeSources = False
def __init__(self, cfg, ui): PackageSource.__init__(self, cfg, ui) self._api = prism_rest_client.open(self._cfg.pkgcacheUri) self._loaded = False self._cfg.synthesizeSources = False
def __init__(self, uri): self.api = prism_rest_client.open(uri) self.shows = dict((x.name.lower(), x) for x in self.api.library.shows)
def __init__(self, cfg): self._cfg = cfg ui = cmdline.UserInterface() self.pkgSource = pkgsource.PackageSource(cfg, ui) self.api = prism_rest_client.open(cfg.pkgcacheUri)