bastionlab icon indicating copy to clipboard operation
bastionlab copied to clipboard

Delete df feature

Open ShannonSD opened this issue 2 years ago • 2 comments

Adds a memory quota that tracks the memory consumption of each user. The default value is 5 MB and is set in the config.toml. Authentication must be enabled for memory quotas to work. Deletion of a dataframe releases the memory it consumed for the user who created it. Dataframes can be deleted by either the data owner or the data scientist that created the dataframe.

A notebook called memory_quotas is added in tutorials, it describes memory_quotas and how to delete dataframes. The python server is modified to support authentication for this notebook. However, since the python server is still based off the last available release, the deserialization of the policy fails. This will be fixed by a new release of the python server.

ShannonSD avatar Feb 15 '23 10:02 ShannonSD

☂️ Python Cov

current status: ✅

Overall Coverage

Lines Covered Coverage Threshold Status
380 367 97% 0% 🟢

New Files

No new covered files...

Modified Files

No covered modified files...

updated for commit: f1f114e by action🐍

github-actions[bot] avatar Feb 15 '23 10:02 github-actions[bot]

The test notebook fails because of the changes I made to the python server to add authentication. It passes an argument to enable authentication and the test notebook expects no arguments.

ShannonSD avatar Feb 15 '23 10:02 ShannonSD