sunpeek.db_utils.crud.delete_component#

sunpeek.db_utils.crud.delete_component(session, component)#

Removes a component from the database

Parameters:
  • session (Session)

  • component (An instance of a subclass of cmp.Component)

Return type:

The updated object after commit to the database. This may have had modifications made by database side logic.