(self, output_schema: str = "id")
| 112 | ) |
| 113 | |
| 114 | def delete(self, output_schema: str = "id") -> RepositoryDiscussionComment: |
| 115 | if not output_schema.startswith("\n"): |
| 116 | output_schema = f" {output_schema} " |
| 117 | return self._requester.graphql_named_mutation_class( |
| 118 | "deleteDiscussionComment", |
| 119 | {"id": self.id}, |
| 120 | f"comment {{{output_schema}}}", |
| 121 | "comment", |
| 122 | github.RepositoryDiscussionComment.RepositoryDiscussionComment, |
| 123 | ) |
| 124 | |
| 125 | def _useAttributes(self, attributes: dict[str, Any]) -> None: |
| 126 | # super class is a REST API GithubObject, attributes are coming from GraphQL |
nothing calls this directly
no test coverage detected