Return a lazy instance of :class:`.Comment`. :param id: The ID of the comment. :param url: A permalink pointing to the comment. .. note:: If you want to obtain the comment's replies, you will need to call :meth:`~.Comment.refresh` on the returned :c
(self, id: str | None = None, *, url: str | None = None)
| 623 | return url |
| 624 | |
| 625 | def comment(self, id: str | None = None, *, url: str | None = None) -> models.Comment: |
| 626 | """Return a lazy instance of :class:`.Comment`. |
| 627 | |
| 628 | :param id: The ID of the comment. |
| 629 | :param url: A permalink pointing to the comment. |
| 630 | |
| 631 | .. note:: |
| 632 | |
| 633 | If you want to obtain the comment's replies, you will need to call |
| 634 | :meth:`~.Comment.refresh` on the returned :class:`.Comment`. |
| 635 | |
| 636 | """ |
| 637 | if url: |
| 638 | url = self._resolve_share_url(url) |
| 639 | return models.Comment(self, id=id, url=url) |
| 640 | |
| 641 | def delete( |
| 642 | self, |