from pathlib import Path # add core nodes to __all__ python_files = filter(lambda f: not f.name.startswith("_"), Path(__file__).parent.glob("*.py")) __all__ = [f.stem for f in python_files] # type: ignore