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 self as a function.


Methods Documentation


Call self as a function.