| 594 | |
| 595 | |
| 596 | class TopicHelpCommand(HelpCommand): |
| 597 | EventHandlerClass = TopicDocumentEventHandler |
| 598 | |
| 599 | def __init__(self, session, topic_name): |
| 600 | super().__init__(session, None, {}, {}) |
| 601 | self._topic_name = topic_name |
| 602 | |
| 603 | @property |
| 604 | def event_class(self): |
| 605 | return 'topics.' + self.name |
| 606 | |
| 607 | @property |
| 608 | def name(self): |
| 609 | return self._topic_name |
| 610 | |
| 611 | @property |
| 612 | def url(self): |
| 613 | return f"{self._base_remote_url}/{TOPIC_PATH}/{self.name}.html" |
no outgoing calls