Path 1: 3 calls (1.0)

FileSystemLoader (3)

'class: jinja2.loaders.FileSystemLoader' (3) "encoding: 'utf-8'" (3) 'followlinks: False' (3) 'searchpath:' (3) ' - /Users/andrehora/Documents/git/pr...

1def _dump_loader_info(loader) -> t.Generator:
2    yield f"class: {type(loader).__module__}.{type(loader).__name__}"
3    for key, value in sorted(loader.__dict__.items()):
4        if key.startswith("_"):
5            continue
6        if isinstance(value, (tuple, list)):
7            if not all(isinstance(x, str) for x in value):
8                continue
9            yield f"{key}:"
10            for item in value:
11                yield f"  - {item}"
12            continue
13        elif not isinstance(value, (str, int, float, bool)):
14            continue
15        yield f"{key}: {value!r}"