components/breadcrumbs/core/generate_not_user_triggered_actions.py
def not_user_triggered_actions(actions_file_path):
    """Generates list of not-user triggered and non-obsolete UMA User Actions.

    Args:
        actions_file_path: path to actions.xml file
    """
    actions = ElementTree.parse(actions_file_path).getroot()

    for action in actions:
        if action.find('obsolete') is not None:
            continue

        if action.attrib.get('not_user_triggered') == 'true':
          yield action.attrib['name']
Generates list of not-user triggered and non-obsolete UMA User Actions.

    Args:
        actions_file_path: path to actions.xml file
    
Generates list of not-user triggered and non-obsolete UMA User Actions.
Generates list of not - user triggered and non - obsolete UMA User Actions .
def not_user_triggered_actions(actions_file_path):
    actions = ElementTree.parse(actions_file_path).getroot()
    for action in actions:
        if action.find('obsolete') is not None:
            continue
        if action.attrib.get('not_user_triggered') == 'true':
          yield action.attrib['name']
def not_user_triggered_actions ( actions_file_path ) : actions = ElementTree . parse ( actions_file_path ) . getroot ( ) for action in actions : if action . find ( 'obsolete' ) is not None : continue if action . attrib . get ( 'not_user_triggered' ) == 'true' : yield action . attrib [ 'name' ]
Generates list of not-user triggered and non-obsolete UMA User Actions.
Generates list of not - user triggered and non - obsolete UMA User Actions .
"""Generates list of not-user triggered and non-obsolete UMA User Actions.

    Args:
        actions_file_path: path to actions.xml file
    """
actions_file_path
path to actions.xml file
path to actions . xml file