gui/backend/gui_plugin/users/UserManagement.py
def list_profiles(user_id, web_session=None):
    """Returns the list of profile for the given user

    Args:
        user_id (int): The id of the user.
        web_session (object): The webserver session object, optional. Will be
            passed in by the webserver automatically

    Returns:
        The generated shell request record.
    """
    with BackendDatabase(web_session) as db:
        return db.select('''SELECT id, name FROM profile
            WHERE user_id = ?''', (user_id,))
Returns the list of profile for the given user

    Args:
        user_id (int): The id of the user.
        web_session (object): The webserver session object, optional. Will be
            passed in by the webserver automatically

    Returns:
        The generated shell request record.
    
Returns the list of profile for the given user
Returns the list of profile for the given user
def list_profiles(user_id, web_session=None):
    with BackendDatabase(web_session) as db:
        return db.select('''SELECT id, name FROM profile
            WHERE user_id = ?''', (user_id,))
def list_profiles ( user_id , web_session = None ) : with BackendDatabase ( web_session ) as db : return db . select ( '''SELECT id, name FROM profile
            WHERE user_id = ?''' , ( user_id , ) )
Returns the list of profile for the given user
Returns the list of profile for the given user
"""Returns the list of profile for the given user

    Args:
        user_id (int): The id of the user.
        web_session (object): The webserver session object, optional. Will be
            passed in by the webserver automatically

    Returns:
        The generated shell request record.
    """
The generated shell request record.
The generated shell request record .
user_id
The id of the user.
The id of the user .
web_session
The webserver session object, optional. Will be
passed in by the webserver automatically
The webserver session object optional . Will be passed in by the webserver automatically