code: def create_shot(self, ):
          
          name = self.name_le.text()
          if not name:
              self.name_le.setPlaceholderText("Please enter a name!")
              return
          desc = self.desc_pte.toPlainText()
          try:
              shot = djadapter.models.Shot(sequence=self.sequence, project=self.sequence.project, name=name, description=desc)
              shot.save()
              self.shot = shot
              self.accept()
          except:
              log.exception("Could not create new shot")
docs: Create a shot and store it in the self.shot
  
          :returns: None
          :rtype: None
          :raises: None