def getCustomerN(N): """ Get customer at given position. """ return identitycache.FromCache(contactsdb.customer(N))
def getCustomerID(N): """ Get customer ID at given position. """ return contactsdb.customer(N)