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-dfs
csst-dfs-api-cluster
Commits
8528b157
Commit
8528b157
authored
Jun 25, 2023
by
Wei Shoulin
Browse files
to abc
parent
d2e89420
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_dfs_api_cluster/mbi/level2.py
View file @
8528b157
...
...
@@ -4,7 +4,7 @@ import grpc
import
datetime
import
pickle
from
collections
import
Iterable
from
collections
.abc
import
Iterable
from
csst_dfs_commons.models
import
Result
from
csst_dfs_commons.models.common
import
from_proto_model_list
...
...
@@ -130,7 +130,7 @@ class Level2DataApi(object):
try
:
brick_ids
=
get_parameter
(
kwargs
,
"brick_ids"
,
[])
if
not
isinstance
(
brick_ids
,
Iterable
):
if
not
isinstance
(
brick_ids
,
Iterable
):
brick_ids
=
[
brick_ids
]
resp
,
_
=
self
.
stub
.
FindCatalogFile
.
with_call
(
level2_pb2
.
FindLevel2CatalogReq
(
...
...
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