MCPcopy
hub / github.com/langroid/langroid / Sale

Class Sale

tests/main/sql_chat/test_sql_chat_agent.py:44–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

42
43
44class Sale(Base):
45 __tablename__ = "sales"
46
47 id = Column(Integer, primary_key=True)
48 amount = Column(Integer, nullable=False)
49 employee_id = Column(Integer, ForeignKey("employees.id"), nullable=False)
50
51 employee = relationship("Employee", back_populates="sales")
52
53
54@pytest.fixture

Callers 1

mock_db_sessionFunction · 0.70

Calls

no outgoing calls

Tested by 1

mock_db_sessionFunction · 0.56

Used in the wild real call sites across dependent graphs

searching dependent graphs…