Open vibheksoni opened 5 days ago
Well import_module
uses the same resolution logic as an actual import statement so I don't think this helps much. Either way, you need to get the files that constitute the package into your worker. It's currently possible to vendor packages, it's just not very user friendly.
Currently, we can't use external required modules. To avoid installing them, I was wondering if we could leverage importlib.util.import_module to load dependencies instead. This approach would enable package loading without external dependencies, which could be beneficial. What are your thoughts on this potential solution?