MCPcopy Create free account
hub / github.com/FujiwaraChoki/MoneyPrinter / Script

Class Script

Backend/models.py:82–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80
81
82class Script(Base):
83 __tablename__ = "scripts"
84
85 id: Mapped[int] = mapped_column(Integer, primary_key=True, autoincrement=True)
86 job_id: Mapped[str] = mapped_column(
87 String(36),
88 ForeignKey("generation_jobs.id", ondelete="CASCADE"),
89 nullable=False,
90 index=True,
91 )
92 model_name: Mapped[Optional[str]] = mapped_column(String(255), nullable=True)
93 content: Mapped[str] = mapped_column(Text, nullable=False)
94 created_at: Mapped[datetime] = mapped_column(
95 DateTime(timezone=True), server_default=func.now(), nullable=False
96 )
97
98
99class Artifact(Base):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected