original_docstring: 
      Reflect changes to incidents in the headline post
  
      Important: this is called in the synchronous /incident flow so must remain fast (<2 secs)
  
      
docstring: Reflect changes to incidents in the headline post
  Important: this is called in the synchronous /incident flow so must remain fast (<2 secs)
docstring_tokens: Reflect changes to incidents in the headline post Important : this is called in the synchronous / incident flow so must remain fast ( <2 secs )
code: def update_headline_after_incident_save(sender, instance, **kwargs):
      """
      Reflect changes to incidents in the headline post
  
      Important: this is called in the synchronous /incident flow so must remain fast (<2 secs)
  
      """
      try:
          headline_post = HeadlinePost.objects.get(
              incident=instance
          )
          headline_post.update_in_slack()
  
      except HeadlinePost.DoesNotExist:
          headline_post = HeadlinePost.objects.create_headline_post(
              incident=instance
          )
code_tokens: def update_headline_after_incident_save ( sender , instance , ** kwargs ) : try : headline_post = HeadlinePost . objects . get ( incident = instance ) headline_post . update_in_slack ( ) except HeadlinePost . DoesNotExist : headline_post = HeadlinePost . objects . create_headline_post ( incident = instance )
short_docstring: Reflect changes to incidents in the headline post
  Important: this is called in the synchronous /incident flow so must remain fast (<2 secs)
short_docstring_tokens: Reflect changes to incidents in the headline post Important : this is called in the synchronous / incident flow so must remain fast ( <2 secs )
comment: """
      Reflect changes to incidents in the headline post
  
      Important: this is called in the synchronous /incident flow so must remain fast (<2 secs)
  
      """