libs/user_lib.py
def __get_user_data(value, column):
    """Get the user role associated with given column."""
    return DB.select(
        User, filters=[User.__dict__[column] == value], first=True, json=True
    )
Get the user role associated with given column.
Get the user role associated with given column.
Get the user role associated with given column .
def __get_user_data(value, column):
    return DB.select(
        User, filters=[User.__dict__[column] == value], first=True, json=True
    )
def __get_user_data ( value , column ) : return DB . select ( User , filters = [ User . __dict__ [ column ] == value ] , first = True , json = True )
Get the user role associated with given column.
Get the user role associated with given column .
"""Get the user role associated with given column."""
value
column