Allow ML rules to accept a single or array of job IDs (#1167)
This commit is contained in:
committed by
brokensound77
parent
7040538a9a
commit
3d7f5d73a4
@@ -217,7 +217,7 @@ class MachineLearningRuleData(BaseRuleData):
|
||||
type: Literal["machine_learning"]
|
||||
|
||||
anomaly_threshold: int
|
||||
machine_learning_job_id: str
|
||||
machine_learning_job_id: Union[str, List[str]]
|
||||
|
||||
|
||||
@dataclass(frozen=True)
|
||||
|
||||
Reference in New Issue
Block a user