Skip to content

Commit

Permalink
review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
jennafauconnier committed Oct 29, 2024
1 parent 0527a72 commit ac1fe92
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/firefighter/slack/signals/create_incident_conversation.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@
@receiver(signal=create_incident_conversation)
def create_incident_slack_conversation(
incident: Incident,
source_channel: IncidentChannel,
source_channel: Any,
*_args: Any,
**_kwargs: Any,
) -> None | int:
"""Main process to open an incident channel, set it up and invite responders. It MUST be called when an incident is created.
Args:
incident (Incident): The incident to open. It should be saved before calling this function, and have its first incident update created.
source_channel (IncidentChannel): The channel from which the incident was opened, used for sending notifications and updates.
source_channel (Any): The channel from which the incident was opened, used for sending notifications and updates.
"""
channel: IncidentChannel | None = IncidentChannel.objects.create_incident_channel(
Expand Down

0 comments on commit ac1fe92

Please sign in to comment.