I usually keep a definitions module in my projects that I import generally with from definitions import *. In one project, however, it sources files that routinely update.
Before, I used to run functions in definitions that updated some of its variables.
However, in lieu of that, I opted for a general update of all relevant variables connected to files that change as the program runs. However, in one program, it's not reflecting those updates and is pulling previous versions of variables' contents, sometimes very old ones, from the cache.
So, I'm looking at reloading the module entirely as needed. However, there appears to be no way to use importlib.reload() if the module is in the from ModuleType argument space.
Is there a way around this that won't require me to rewrite my code that used elements from import *?