MCPcopy Create free account
hub / github.com/1Panel-dev/MaxKB / ParagraphSerializer

Class ParagraphSerializer

apps/knowledge/serializers/paragraph.py:51–54  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49
50
51class ParagraphSerializer(serializers.ModelSerializer):
52 class Meta:
53 model = Paragraph
54 fields = ["id", "content", "is_active", "document_id", "title", "create_time", "update_time", "position"]
55
56
57class ParagraphInstanceSerializer(serializers.Serializer):

Callers 4

get_dataMethod · 0.90
oneMethod · 0.85
listMethod · 0.85
pageMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected