(self, post_id: str)
| 683 | return out_paragraphs, title, subtitle |
| 684 | |
| 685 | async def render_as_html(self, post_id: str): |
| 686 | post_data = await self.query(post_id) |
| 687 | try: |
| 688 | result = await self._render_as_html(post_data, post_id) |
| 689 | except Exception as ex: |
| 690 | raise ex |
| 691 | else: |
| 692 | return result |
| 693 | |
| 694 | async def generate_metadata( |
| 695 | self, post_data: dict, post_id: str, as_dict: bool = False |