(self)
| 142 | |
| 143 | @hook(AFTER_SAVE) # type: ignore[misc] |
| 144 | def create_github_comment(self) -> None: |
| 145 | from integrations.github.github import call_github_task |
| 146 | |
| 147 | if ( |
| 148 | self.external_resources.exists() |
| 149 | and self.project.github_project.exists() |
| 150 | and self.project.organisation.github_config.exists() |
| 151 | and self.deleted_at |
| 152 | ): |
| 153 | call_github_task( |
| 154 | organisation_id=self.project.organisation_id, # type: ignore[arg-type] |
| 155 | type=GitHubEventType.FLAG_DELETED.value, |
| 156 | feature=self, |
| 157 | segment_name=None, |
| 158 | url=None, |
| 159 | feature_states=None, |
| 160 | ) |
| 161 | |
| 162 | @hook(AFTER_SAVE) # type: ignore[misc] |
| 163 | def create_gitlab_comment(self) -> None: |
nothing calls this directly
no test coverage detected