(cls, text)
| 115 | |
| 116 | @classmethod |
| 117 | def section_pairs(cls, text): |
| 118 | return ( |
| 119 | section._replace(value=Pair.parse(section.value)) |
| 120 | for section in cls.read(text, filter_=cls.valid) |
| 121 | if section.name is not None |
| 122 | ) |
| 123 | |
| 124 | @staticmethod |
| 125 | def read(text, filter_=None): |
no test coverage detected