MCPcopy Create free account
hub / github.com/Vanderhoof/PyDBML / build

Method build

pydbml/parser/blueprints.py:186–196  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

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

Callers 2

test_build_minimalMethod · 0.95
test_build_fullMethod · 0.95

Calls 2

IndexClass · 0.90
buildMethod · 0.45

Tested by 2

test_build_minimalMethod · 0.76
test_build_fullMethod · 0.76