Chore: remove unused fields (#15764)
This commit is contained in:
parent
23ed3a520b
commit
433374abea
2 changed files with 0 additions and 17 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue