mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-15 03:26:01 +08:00
Chore: remove unused fields (#15764)
This commit is contained in:
parent
23ed3a520b
commit
433374abea
@ -1,11 +0,0 @@
|
|||||||
from flask_restful import fields # type: ignore
|
|
||||||
|
|
||||||
from libs.helper import TimestampField
|
|
||||||
|
|
||||||
external_knowledge_api_query_detail_fields = {
|
|
||||||
"id": fields.String,
|
|
||||||
"name": fields.String,
|
|
||||||
"setting": fields.String,
|
|
||||||
"created_by": fields.String,
|
|
||||||
"created_at": TimestampField,
|
|
||||||
}
|
|
@ -40,9 +40,3 @@ segment_fields = {
|
|||||||
"stopped_at": TimestampField,
|
"stopped_at": TimestampField,
|
||||||
"child_chunks": fields.List(fields.Nested(child_chunk_fields)),
|
"child_chunks": fields.List(fields.Nested(child_chunk_fields)),
|
||||||
}
|
}
|
||||||
|
|
||||||
segment_list_response = {
|
|
||||||
"data": fields.List(fields.Nested(segment_fields)),
|
|
||||||
"has_more": fields.Boolean,
|
|
||||||
"limit": fields.Integer,
|
|
||||||
}
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user