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

Function complex_column

test/conftest.py:47–59  ·  view source on GitHub ↗
(enum1: Enum)

Source from the content-addressed store, hash-verified

45
46@pytest.fixture
47def complex_column(enum1: Enum) -> Column:
48 return Column(
49 name='counter',
50 type=enum1,
51 pk=True,
52 autoinc=True,
53 unique=True,
54 not_null=True,
55 default=0,
56 comment='This is a counter column',
57 note=Note('This is a note for the column'),
58 properties={'foo': 'bar', 'baz': "qux\nqux"}
59 )
60
61
62@pytest.fixture

Callers

nothing calls this directly

Calls 2

ColumnClass · 0.90
NoteClass · 0.90

Tested by

no test coverage detected