Changes on a Python module (Integrated to a Python Script in NI DIAdem) are not saved until a full restart of NI DIAdem is done.
NI DIAdem integrates Python into its own process to ensure fast access to functions and data. With "normal" Python scripts, Python.exe is terminated after each run. This is not the desired behavior when working with NI DIAdem. However, you can reload changed modules with built-in Python functions.