Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
MinerU
Commits
57fa0803
Commit
57fa0803
authored
Sep 26, 2024
by
houlinfeng
Browse files
feat: add file_key
parent
19ae33d8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
projects/web_demo/web_demo/api/analysis/analysis_view.py
projects/web_demo/web_demo/api/analysis/analysis_view.py
+4
-0
No files found.
projects/web_demo/web_demo/api/analysis/analysis_view.py
View file @
57fa0803
...
@@ -38,6 +38,7 @@ class AnalysisTaskProgressView(Resource):
...
@@ -38,6 +38,7 @@ class AnalysisTaskProgressView(Resource):
"status"
:
analysis_pdf
.
status
,
"status"
:
analysis_pdf
.
status
,
"url"
:
file_url
,
"url"
:
file_url
,
"fileName"
:
file_name
,
"fileName"
:
file_name
,
"file_key"
:
analysis_task
.
file_key
,
"content"
:
[],
"content"
:
[],
"markdownUrl"
:
[],
"markdownUrl"
:
[],
"fullMdLink"
:
""
,
"fullMdLink"
:
""
,
...
@@ -54,6 +55,7 @@ class AnalysisTaskProgressView(Resource):
...
@@ -54,6 +55,7 @@ class AnalysisTaskProgressView(Resource):
"status"
:
analysis_pdf
.
status
,
"status"
:
analysis_pdf
.
status
,
"url"
:
file_url
,
"url"
:
file_url
,
"fileName"
:
file_name
,
"fileName"
:
file_name
,
"file_key"
:
analysis_task
.
file_key
,
"content"
:
bbox_info
,
"content"
:
bbox_info
,
"markdownUrl"
:
md_link_list
,
"markdownUrl"
:
md_link_list
,
"fullMdLink"
:
full_md_link
,
"fullMdLink"
:
full_md_link
,
...
@@ -66,6 +68,7 @@ class AnalysisTaskProgressView(Resource):
...
@@ -66,6 +68,7 @@ class AnalysisTaskProgressView(Resource):
"status"
:
analysis_pdf
.
status
,
"status"
:
analysis_pdf
.
status
,
"url"
:
file_url
,
"url"
:
file_url
,
"fileName"
:
file_name
,
"fileName"
:
file_name
,
"file_key"
:
analysis_task
.
file_key
,
"content"
:
[],
"content"
:
[],
"markdownUrl"
:
[],
"markdownUrl"
:
[],
"fullMdLink"
:
""
,
"fullMdLink"
:
""
,
...
@@ -79,6 +82,7 @@ class AnalysisTaskProgressView(Resource):
...
@@ -79,6 +82,7 @@ class AnalysisTaskProgressView(Resource):
"status"
:
analysis_pdf
.
status
,
"status"
:
analysis_pdf
.
status
,
"url"
:
file_url
,
"url"
:
file_url
,
"fileName"
:
file_name
,
"fileName"
:
file_name
,
"file_key"
:
analysis_task
.
file_key
,
"content"
:
[],
"content"
:
[],
"markdownUrl"
:
[],
"markdownUrl"
:
[],
"fullMdLink"
:
""
,
"fullMdLink"
:
""
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment