dnanhkhoa/nb_black

History of the cell is being saved in source

shantanuo opened this issue · 0 comments

After installing the extension, it saved the history of the cell along with display text. This may lead to expose sensitive information. For e.g. In this file, the AWS access key is visible in the source even if display is just XXX

https://kagapa.s3.ap-south-1.amazonaws.com/deep_learn/aws_comprehend.ipynb

This is not expected when I save a file using File - Download as - Notebook (.ipynb) to be shared with others. The user does not expect the history of the cell to be shared :)