I recently bumped into an issue where my python code was not executed the same way wether it was ran from a notebook or its corresponding recipe*.