(paragraph: Dict)
| 435 | |
| 436 | @staticmethod |
| 437 | def sub_title(paragraph: Dict): |
| 438 | if 'title' in paragraph: |
| 439 | title = paragraph.get('title') |
| 440 | if len(title) > 255: |
| 441 | return {**paragraph, 'title': title[0:255], 'content': title[255:len(title)] + paragraph.get('content')} |
| 442 | return paragraph |
| 443 | |
| 444 | @staticmethod |
| 445 | def content_is_null(paragraph: Dict, title_list: List[str]): |
no test coverage detected