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
1ddab086
Commit
1ddab086
authored
Dec 30, 2023
by
Wei Shoulin
Browse files
add build_id
parent
6981a2d4
Pipeline
#2893
passed with stage
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
csst_dfs_api_cluster/facility/level1.py
View file @
1ddab086
...
@@ -216,7 +216,7 @@ class Level1DataApi(object):
...
@@ -216,7 +216,7 @@ class Level1DataApi(object):
prc_time : [str]
prc_time : [str]
pipeline_id : [str]
pipeline_id : [str]
pmapname : [str]
pmapname : [str]
refs: [dic
t]
build_id : [in
t]
return csst_dfs_common.models.Result
return csst_dfs_common.models.Result
'''
'''
...
@@ -234,7 +234,7 @@ class Level1DataApi(object):
...
@@ -234,7 +234,7 @@ class Level1DataApi(object):
prc_status
=
get_parameter
(
kwargs
,
"prc_status"
,
0
),
prc_status
=
get_parameter
(
kwargs
,
"prc_status"
,
0
),
prc_time
=
get_parameter
(
kwargs
,
"prc_time"
,
format_datetime
(
datetime
.
now
())),
prc_time
=
get_parameter
(
kwargs
,
"prc_time"
,
format_datetime
(
datetime
.
now
())),
pipeline_id
=
get_parameter
(
kwargs
,
"pipeline_id"
,
""
),
pipeline_id
=
get_parameter
(
kwargs
,
"pipeline_id"
,
""
),
build_id
=
get_parameter
(
kwargs
,
"build_id"
,
-
1024
),
build_id
=
get_parameter
(
kwargs
,
"build_id"
,
0
),
pmapname
=
get_parameter
(
kwargs
,
"pmapname"
,
""
),
pmapname
=
get_parameter
(
kwargs
,
"pmapname"
,
""
),
refs
=
get_parameter
(
kwargs
,
"refs"
,
{})
refs
=
get_parameter
(
kwargs
,
"refs"
,
{})
)
)
...
...
csst_dfs_api_cluster/facility/level2.py
View file @
1ddab086
...
@@ -243,6 +243,7 @@ class Level2DataApi(object):
...
@@ -243,6 +243,7 @@ class Level2DataApi(object):
prc_status : [int]
prc_status : [int]
prc_time : [str]
prc_time : [str]
pipeline_id : [str]
pipeline_id : [str]
build_id : [int]
return csst_dfs_common.models.Result
return csst_dfs_common.models.Result
'''
'''
...
@@ -260,6 +261,7 @@ class Level2DataApi(object):
...
@@ -260,6 +261,7 @@ class Level2DataApi(object):
qc2_status
=
get_parameter
(
kwargs
,
"qc2_status"
,
0
),
qc2_status
=
get_parameter
(
kwargs
,
"qc2_status"
,
0
),
prc_status
=
get_parameter
(
kwargs
,
"prc_status"
,
0
),
prc_status
=
get_parameter
(
kwargs
,
"prc_status"
,
0
),
prc_time
=
get_parameter
(
kwargs
,
"prc_time"
,
format_datetime
(
datetime
.
now
())),
prc_time
=
get_parameter
(
kwargs
,
"prc_time"
,
format_datetime
(
datetime
.
now
())),
build_id
=
get_parameter
(
kwargs
,
"build_id"
,
0
),
pipeline_id
=
get_parameter
(
kwargs
,
"pipeline_id"
,
""
)
pipeline_id
=
get_parameter
(
kwargs
,
"pipeline_id"
,
""
)
)
)
def
stream
(
rec
):
def
stream
(
rec
):
...
...
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