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
6981a2d4
Commit
6981a2d4
authored
Dec 30, 2023
by
Wei Shoulin
Browse files
add build_id
parent
6ed7484c
Pipeline
#2892
passed with stage
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
csst_dfs_api_cluster/facility/level2.py
View file @
6981a2d4
...
...
@@ -34,7 +34,9 @@ class Level2DataApi(object):
qc2_status : [int],
prc_status : [int],
import_status : [int],
filename: [str]
filename: [str],
build_id : [int],
pipeline_id: [str],
limit: limits returns the number of records,default 0:no-limit
return: csst_dfs_common.models.Result
...
...
@@ -54,6 +56,8 @@ class Level2DataApi(object):
filename
=
get_parameter
(
kwargs
,
"filename"
),
object_name
=
get_parameter
(
kwargs
,
"object_name"
),
limit
=
get_parameter
(
kwargs
,
"limit"
,
0
),
pipeline_id
=
get_parameter
(
kwargs
,
"pipeline_id"
,
""
),
build_id
=
get_parameter
(
kwargs
,
"build_id"
,
-
1024
),
other_conditions
=
{
"test"
:
"cnlab.test"
}
),
metadata
=
get_auth_headers
())
...
...
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