INNER CODE UNIT · Python

_discover_official_plugins

overhangio/tutor · bin/main.py:8

def _discover_official_plugins() -> None:
    # Manually discover plugins: that's because entrypoint plugins are not properly
    # detected within the binary bundle.
    with hooks.Contexts.PLUGINS.enter():
        OfficialPlugin.discover_all()


if __name__ == "__main__":
    # Call the regular main function, which will not detect any entrypoint plugin
    main()

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…