AddEntry#

class sunpy.database.commands.AddEntry(session, database_entry)[source]#

Bases: DatabaseOperation

Add a new database entry to this session. It is not checked whether an equivalent entry is already saved in the session; this has to be checked by the caller. The undo method removes the entry from the session again.

Methods Summary

__call__()

Call self as a function.

undo()

Methods Documentation

__call__()[source]#

Call self as a function.

undo()[source]#