Trashing and deleting data#
You can delete pieces of metadata from individual Neptune runs or objects, or trash entire Neptune objects.
Deleting metadata from objects#
You can delete metadata from runs or other Neptune objects by resuming a connection to it in your code and operating on the namespaces or fields you wish to delete.
-
Resume the object with its init function and the
with_id
parameter:
You can also override an existing field with something different, as long as it's of the same type.
Related
- Resuming a run or other object
- API reference ≫
del
andpop()
- API reference ≫ Field types
Trashing objects#
You can trash Neptune runs or other objects:
- Through the app, by selecting the objects and clicking the trash icon ().
- Through the API, with the
trash_objects()
function.
Trashed items remain in the project trash until manually emptied.
Related
For cleaning junk metadata locally, see neptune clear
.