Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
csst_common
Commits
b59688de
Commit
b59688de
authored
Feb 16, 2023
by
BO ZHANG
🏀
Browse files
log out catalog query totalCount and columns
parent
c308a4d4
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_common/data_manager.py
View file @
b59688de
...
@@ -753,6 +753,7 @@ class CsstMsDataManager:
...
@@ -753,6 +753,7 @@ class CsstMsDataManager:
)
)
self
.
logger_ppl
.
info
(
f
"Results from DFS CATAPI: code =
{
cat
[
'code'
]
}
, message =
{
cat
[
'message'
]
}
"
)
self
.
logger_ppl
.
info
(
f
"Results from DFS CATAPI: code =
{
cat
[
'code'
]
}
, message =
{
cat
[
'message'
]
}
"
)
if
cat
[
"code"
]
==
0
:
if
cat
[
"code"
]
==
0
:
self
.
logger_ppl
.
info
(
f
"totalCount =
{
cat
[
'totalCount'
]
}
, columns =
{
cat
[
'columns'
]
}
"
)
return
self
.
dfs_CatApi
.
to_table
(
cat
)
return
self
.
dfs_CatApi
.
to_table
(
cat
)
else
:
else
:
raise
ValueError
(
"Bad results!"
)
raise
ValueError
(
"Bad results!"
)
...
...
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