reloading
reloading copied to clipboard
Fix reloading issue with multiple decorated functions
Resolved a bug where only the first function decorated would be reloaded on subsequent invocations.
- If having a similar decorated function in two different classes, only the first was reloaded. Fixed by checking both function and class names.
Little modifications on exception handling to better manage specific scenarios.
- Setting
forever=True
while sending an iterator to reloading function - If an error was found on the code when running on a non-interactive environment, instead of waiting for the user to press enter, just throw an error message.