code: def deleteCard(self, card_name, db_session):
          
          card_name = card_name.upper()
          gssha_card = self.getCard(card_name)
          if gssha_card is not None:
              db_session.delete(gssha_card)
              db_session.commit()
docs: Removes card from gssha project file