Esempio n. 1
0
 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
Esempio n. 2
0
 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
Esempio n. 3
0
    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)
Esempio n. 4
0
    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)
Esempio n. 5
0
    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
Esempio n. 6
0
    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