MCPcopy Create free account
hub / github.com/vastsa/FileCodeBox / KeyValue

Class KeyValue

apps/base/models.py:57–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55
56
57class KeyValue(Model):
58 id: Optional[int] = fields.IntField(pk=True)
59 key: Optional[str] = fields.CharField(
60 max_length=255, description="键", index=True, unique=True
61 )
62 value: Optional[str] = fields.JSONField(description="值", null=True)
63 created_at: Optional[datetime] = fields.DatetimeField(
64 auto_now_add=True, description="创建时间"
65 )
66
67
68class PresignUploadSession(models.Model):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected