Commit e1f6d031 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

add Pipeline.pmapname

parent ceabf442
Pipeline #2769 passed with stage
......@@ -242,6 +242,14 @@ class Pipeline:
def retry(*args, **kwargs):
return retry(*args, **kwargs)
@property
def pmapname(self):
"""CCDS `.pmap` name (operational context)."""
if self.ccds is not None:
return self.ccds.operational_context
else:
raise ValueError("CCDS client not initialized!")
# class ErrorTrace:
# """Write error trace to file."""
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment