Commit 385399c6 authored by BO ZHANG's avatar BO ZHANG 🏀
Browse files

make alias: Pipeline.retry

parent 96f260e6
Pipeline #2602 failed with stage
in 0 seconds
......@@ -17,9 +17,9 @@ import subprocess
import traceback
import warnings
from typing import Callable, NamedTuple, Optional, Any
from astropy.time import Time, TimeDelta
from .utils import retry
from .ccds import CCDS
from .dfs import DFS
from .file import File
......@@ -27,7 +27,6 @@ from .logger import get_logger
from .status import CsstStatus, CsstResult
# TODO: unit test in need
class Pipeline:
"""
CSST pipeline configuration class.
......@@ -223,6 +222,10 @@ class Pipeline:
output=output,
)
@staticmethod
def retry(*args, **kwargs):
return retry(*args, **kwargs)
# 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