def __init__(self, wf): """Store Zotero credentials.""" self.wf = wf self.base = 'https://api.zotero.org' # save api data/properties securely PropertyBase.__init__(self, self.wf, secured=True) self.request = None self.links = None
def __init__(self, wf): """Initialize the sub-class instance. :param wf: a new :class:`Workflow` instance. :type wf: ``object`` """ self.wf = wf # initialize base class, for access to `properties` dict PropertyBase.__init__(self, self.wf, secured=False)
def __init__(self, wf): """Initialize class instance. :param wf: a new :class:`Workflow` instance. :type wf: :class:`object` """ self.wf = wf # initialize :class:`LocalZotero` self.zotero = zot(self.wf) # initialize base class, for access to `properties` dict PropertyBase.__init__(self, self.wf, secured=False) self.con = None