(self)
| 184 | table = None |
| 185 | |
| 186 | def build(self) -> 'Index': |
| 187 | return Index( |
| 188 | # TableBlueprint will process subjects |
| 189 | subjects=[], |
| 190 | name=self.name, |
| 191 | unique=self.unique, |
| 192 | type=self.type, |
| 193 | pk=self.pk, |
| 194 | note=self.note.build() if self.note else None, |
| 195 | comment=self.comment |
| 196 | ) |
| 197 | |
| 198 | |
| 199 | @dataclass |