comfy_mtb icon indicating copy to clipboard operation
comfy_mtb copied to clipboard

[feat] Make mtb's entry point static

Open melMass opened this issue 5 months ago • 0 comments

Describe the problem

In b541670a5b389d9bdef2b70e190294b8a8a2facf I started to remove some of mtb's side effects but there is still way too much. Most of what happens in init: doc association from the wiki, dynamic imports from __nodes__ array in ./nodes/*.py etc)

Describe the solution you'd like

Most of it can be migrated to a script generating that statically and reducing start time even further. Dynamic imports are probably still needed to allow some nodes to fail

Alternatives considered

No response

Additional context

No response

melMass avatar Jul 01 '25 11:07 melMass