:calls: `DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id} `_
(self)
| 136 | return self._workflow_run.value |
| 137 | |
| 138 | def delete(self) -> bool: |
| 139 | """ |
| 140 | :calls: `DELETE /repos/{owner}/{repo}/actions/artifacts/{artifact_id} <https://docs.github.com/en/rest/actions/artifacts#delete-an-artifact>`_ |
| 141 | """ |
| 142 | status, headers, data = self._requester.requestBlob("DELETE", self.url) |
| 143 | return status == 204 |
| 144 | |
| 145 | def _useAttributes(self, attributes: dict[str, Any]) -> None: |
| 146 | if "archive_download_url" in attributes: # pragma no branch |
nothing calls this directly
no test coverage detected