When a notebook contains Python code that creates the map widgets using the ArcGIS API for Python and is run via scheduled tasks or the Execute Notebook operation, the web map as JSON of the widgets is written to the ipynb metadata, which can cause the notebook size to increase rapidly.