def get_all_examples():
    # Make a list of all the examples
    list_of_examples = []
    with open(join(dirname(__file__), "examples.yaml"), "r") as f:
        examples = yaml.load(f.read())
    for example in examples:
        path = example["path"]
        try:
            example_type = getattr(Flags, example["type"])
        except __HOLE__:
            example_type = None

        skip_status = example.get("skip")

        list_of_examples = add_examples(list_of_examples, path, example_type=example_type, skip=skip_status)

    return list_of_examples
dataset/ETHPy150Open bokeh/bokeh/tests/examples/collect_examples.py/get_all_examples