Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)

src/f/t/ftw.participation-1.3.1/ftw/participation/browser/invitations.py   ftw.participation(Download)
                passearch = self.context.unrestrictedTraverse('@@pas_search')
                for iid in pending_iids:
                    invitation = self.storage.get_invitation_by_iid(iid)
                    if len(passearch.searchUsers(email=invitation.email)) > 0:
                        url = os.path.join(

src/f/t/ftw.participation-1.3.1/ftw/participation/browser/participants.py   ftw.participation(Download)
 
        for iid in iids:
            invitation = storage.get_invitation_by_iid(iid)
            if invitation is None:
                continue

src/f/t/ftw.participation-1.3.1/ftw/participation/browser/retract.py   ftw.participation(Download)
    def load(self, iid):
        """Loads storage, invitation, target, etc
        """
        self.storage = IInvitationStorage(self.context)
        self.invitation = self.storage.get_invitation_by_iid(iid)

src/f/t/ftw.participation-1.3.1/ftw/participation/browser/accept.py   ftw.participation(Download)
        """
        self.storage = IInvitationStorage(self.context)
        self.invitation = self.storage.get_invitation_by_iid(iid)
        self.target = self.invitation.get_target()