Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
岳巧源
/
jd_data_process
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
d4ab132c
authored
Oct 13, 2024
by
larosa
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
add update attr
parent
aba108e1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
update_jd_attr.py
update_jd_attr.py
View file @
d4ab132c
...
@@ -246,6 +246,7 @@ def insert_ext_attr_to_redis(class_attr_map: dict, conf: dict):
...
@@ -246,6 +246,7 @@ def insert_ext_attr_to_redis(class_attr_map: dict, conf: dict):
continue
continue
value
=
json
.
dumps
(
attr_ids
,
ensure_ascii
=
False
)
value
=
json
.
dumps
(
attr_ids
,
ensure_ascii
=
False
)
db
.
hset
(
name
=
"jd_ext_attr"
,
key
=
key
,
value
=
value
)
db
.
hset
(
name
=
"jd_ext_attr"
,
key
=
key
,
value
=
value
)
print
(
"jd_ext_attr"
,
key
,
value
)
...
...
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