Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-dfs
csst-dfs-api-cluster
Commits
2be9aa25
Commit
2be9aa25
authored
2 years ago
by
Wei Shoulin
Browse files
Options
Download
Email Patches
Plain Diff
bytes
parent
ca921178
main
master
1.0.1
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
csst_dfs_api_cluster/common/catalog.py
+1
-2
csst_dfs_api_cluster/common/catalog.py
with
1 addition
and
2 deletions
+1
-2
csst_dfs_api_cluster/common/catalog.py
+
1
-
2
View file @
2be9aa25
...
...
@@ -2,7 +2,6 @@ import grpc
import
pickle
from
collections
import
deque
import
logging
import
zlib
import
io
from
csst_dfs_commons.models
import
Result
...
...
@@ -51,7 +50,7 @@ class CatalogApi(object):
else
:
return
Result
.
error
(
message
=
str
(
resp
.
error
.
detail
))
datas
.
flush
()
records
=
pickle
.
loads
(
zlib
.
decompress
(
datas
.
getvalue
())
)
records
=
pickle
.
loads
(
datas
.
getvalue
())
ret_records2
=
[]
for
r
in
records
:
rec
=
Gaia3Record
()
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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
Menu
Explore
Projects
Groups
Snippets