MCPcopy
hub / github.com/langroid/langroid / Department

Class Department

tests/main/sql_chat/test_sql_chat_agent.py:24–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22
23# Define your classes
24class Department(Base):
25 __tablename__ = "departments"
26
27 id = Column(Integer, primary_key=True)
28 name = Column(String, nullable=False)
29
30 employees = relationship("Employee", back_populates="department")
31
32
33class Employee(Base):

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…