def credential_object(self, refresh): """Look up the Credential object that allows us to use the Overdrive API. """ return Credential.lookup( self._db, DataSource.OVERDRIVE, None, None, refresh )
def credential_object(self, refresh): """Look up the Credential object that allows us to use the Odilo API. """ return Credential.lookup(self._db, DataSource.ODILO, None, None, refresh)