Lines Matching full:contacts
127 """Handles requests for fetching user's contacts.
146 # Any new contacts that were added are included in the
150 client_buffer = self.request.get('contacts')
154 # Add any contacts that have been updated on the server-side
161 # Return the list of updated contacts to the client
184 contacts = datastore.Contact.all()
185 if contacts:
190 for contact in contacts:
198 for contact in contacts:
199 # If our list of contacts we're returning already contains this
225 logging.info('Uploaded contacts buffer: ' + contacts_buffer)
229 # Keep track of the number of new contacts the client sent to us,
278 # Add new contacts to our updated_contacts, so that we return them
306 few contacts, so that it doesn't grow to an absurd size.
310 # Delete all the existing contacts from the database
311 contacts = datastore.Contact.all()
312 for contact in contacts:
315 # Now create three sample contacts
348 """Holds data for user's contacts.