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
072867bf
Commit
072867bf
authored
Dec 28, 2025
by
BO ZHANG
🏀
Browse files
add Pipeline.info()
parent
0a3a8fe0
Pipeline
#11643
passed with stage
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
csst_common/pipeline.py
View file @
072867bf
...
...
@@ -257,10 +257,12 @@ class Pipeline:
else
:
raise
ValueError
(
"CCDS client not initialized!"
)
@
property
def
pipeline_build
(
self
):
"""{PIPELINE_ID}-{BUILD}"""
return
f
"
{
self
.
pipeline_id
}
-
{
self
.
build
}
"
def
info
(
self
):
"""Return pipeline information."""
self
.
logger
.
info
(
f
"PIPELINE_ID=
{
self
.
pipeline_id
}
"
)
self
.
logger
.
info
(
f
"BUILD=
{
self
.
build
}
"
)
self
.
logger
.
info
(
f
"CREATED=
{
self
.
created
}
"
)
self
.
logger
.
info
(
f
"VERBOSE=
{
self
.
verbose
}
"
)
class
ModuleResult
(
NamedTuple
):
...
...
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