# RemoveEntry¶

class sunpy.database.commands.RemoveEntry(session, entry)[source] [edit on github]

Remove the given database entry from the session. If it cannot be removed, because it is not stored in the session, sunpy.database.NoSuchEntryError is raised. The undo method puts the database entry back into the session object.

Methods Summary

 __call__() Call self as a function. undo()

Methods Documentation

__call__()[source] [edit on github]

Call self as a function.

undo()[source] [edit on github]