示例#1
0
    def get(self):
        '''
        Retrieve whole contact list at JSON format.
        '''

        contacts = ContactManager.getPendingContacts()

        self.return_documents(contacts)
示例#2
0
def get_pending_contacts(step):
    world.contacts = ContactManager.getPendingContacts()