original_docstring: Send a upload failed on deactivation.
docstring: Send a upload failed on deactivation.
docstring_tokens: Send a upload failed on deactivation .
code: def toggle_status(self):
          """Send a upload failed on deactivation."""
          super().toggle_status()
          if self.is_active and self.state:
              self._create_status_update("UploadFailed")
              if self.ftp_conn:
                  self.ftp_conn.close()
                  self.ftp_conn = None
              self.state = None
code_tokens: def toggle_status ( self ) : super ( ) . toggle_status ( ) if self . is_active and self . state : self . _create_status_update ( "UploadFailed" ) if self . ftp_conn : self . ftp_conn . close ( ) self . ftp_conn = None self . state = None
short_docstring: Send a upload failed on deactivation.
short_docstring_tokens: Send a upload failed on deactivation .
comment: """Send a upload failed on deactivation."""