:calls: `POST /graphql `__ with a mutation to unminimize comment
(self)
| 247 | return data["minimizedComment"]["isMinimized"] is True |
| 248 | |
| 249 | def unminimize(self) -> bool: |
| 250 | """ |
| 251 | :calls: `POST /graphql <https://docs.github.com/en/graphql>`__ with a mutation to unminimize comment |
| 252 | <https://docs.github.com/en/graphql/reference/mutations#unminimizecomment> |
| 253 | """ |
| 254 | variables = { |
| 255 | "subjectId": self.node_id, |
| 256 | } |
| 257 | _, data = self._requester.graphql_named_mutation( |
| 258 | mutation_name="unminimizeComment", |
| 259 | mutation_input=NotSet.remove_unset_items(variables), |
| 260 | output_schema="unminimizedComment { isMinimized }", |
| 261 | ) |
| 262 | return data["unminimizedComment"]["isMinimized"] is False |
| 263 | |
| 264 | def _useAttributes(self, attributes: dict[str, Any]) -> None: |
| 265 | if "author_association" in attributes: # pragma no branch |
no test coverage detected