Example #1
0
 def __init__(self, work_context):
     super(LocomotiveAdapter, self).__init__(work_context)
     backend = self.collection
     self.client = locomotivecms.LocomotiveClient(
         backend.username,
         backend._get_keychain_account()._get_password(), backend.handle,
         backend.location)
Example #2
0
 def __init__(self, work_context):
     super().__init__(work_context)
     backend = self.collection
     self.client = locomotivecms.LocomotiveClient(
         backend.username,
         backend.password,
         backend.handle,
         backend.location,
     )