コード例 #1
0
ファイル: contacts.py プロジェクト: vesellov/datahaven
def getCustomerN(N):
    """
    Get customer at given position.
    """
    return identitycache.FromCache(contactsdb.customer(N))
コード例 #2
0
ファイル: contacts.py プロジェクト: vesellov/datahaven
def getCustomerID(N):
    """
    Get customer ID at given position.
    """
    return contactsdb.customer(N)