Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
M
mentha
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
rank
mentha
Commits
8d9b70c7
Commit
8d9b70c7
authored
Jan 20, 2021
by
李小芳
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'mr/beta/dbmw' into 'master'
grey See merge request
!44
parents
e64ade96
690d7a36
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
transfer.py
data_sync/answer/transfer.py
+2
-0
No files found.
data_sync/answer/transfer.py
View file @
8d9b70c7
...
...
@@ -16,6 +16,7 @@ import time
import
datetime
from
django.conf
import
settings
import
redis
import
logging
from
algorithm.text_classifical.base
import
model
as
alo_model
from
gm_types.doris
import
SELECTED_CONTENT_TYPE
...
...
@@ -261,6 +262,7 @@ def get_answers(pks):
item
[
'show_by_index'
]
=
answer
.
get_answer_show_by_index
(
answer
.
id
)
data
.
append
(
item
)
logging
.
info
(
"get data:
%
s"
%
data
)
except
(
Answer
.
DoesNotExist
,
Question
.
DoesNotExist
):
pass
...
...
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