Warning

This document is for an old release of Galaxy. You can alternatively view this page in the latest release if it exists or view the top of the latest release's documentation.

Source code for galaxy.selenium.data

import yaml

from galaxy.util.resources import resource_string
from .components import Component


[docs]def load_root_component() -> Component: new_data_yaml = resource_string(__package__, "navigation.yml") navigation_raw = yaml.safe_load(new_data_yaml) return Component.from_dict("root", navigation_raw)