MCPcopy
hub / github.com/sqlalchemy/sqlalchemy / User

Class User

test/aaa_profiling/test_memusage.py:1732–1736  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1730 @testing.fixture
1731 def user_fixture(self, decl_base):
1732 class User(decl_base):
1733 __tablename__ = "user"
1734
1735 id = Column(Integer, primary_key=True)
1736 name = Column(String(50))
1737
1738 decl_base.metadata.create_all(testing.db)
1739 yield User

Callers 5

test_weakrefMethod · 0.70
test_weakref_pickledMethod · 0.70

Calls 2

ColumnClass · 0.90
StringClass · 0.90

Tested by 5

test_weakrefMethod · 0.56
test_weakref_pickledMethod · 0.56