Exemplo n.º 1
0
def find_credential(account_name):
    """
    function that finds a credential by account_name
    """
    return Credentials.find_by_name(account_name)
Exemplo n.º 2
0
def find_credentials(first_name):
    '''
    function that finds credentials by password
    '''
    return Credentials.find_by_name(first_name)