|
36 | 36 | PlaybookExplanationResponse,
|
37 | 37 | PlaybookGenerationParameters,
|
38 | 38 | PlaybookGenerationResponse,
|
| 39 | + RoleExplanationParameters, |
| 40 | + RoleExplanationResponse, |
39 | 41 | RoleGenerationParameters,
|
40 | 42 | RoleGenerationResponse,
|
41 | 43 | )
|
|
51 | 53 | WCABasePipeline,
|
52 | 54 | WCABasePlaybookExplanationPipeline,
|
53 | 55 | WCABasePlaybookGenerationPipeline,
|
| 56 | + WCABaseRoleExplanationPipeline, |
54 | 57 | WCABaseRoleGenerationPipeline,
|
55 | 58 | WcaModelRequestException,
|
56 | 59 | )
|
@@ -212,6 +215,22 @@ def self_test(self) -> Optional[HealthCheckSummary]:
|
212 | 215 | raise NotImplementedError
|
213 | 216 |
|
214 | 217 |
|
| 218 | +@Register(api_type="wca-onprem") |
| 219 | +class WCAOnPremRoleExplanationPipeline( |
| 220 | + WCAOnPremPipeline[RoleExplanationParameters, RoleExplanationResponse], |
| 221 | + WCABaseRoleExplanationPipeline[WCAOnPremConfiguration], |
| 222 | +): |
| 223 | + |
| 224 | + def __init__(self, config: WCAOnPremConfiguration): |
| 225 | + super().__init__(config=config) |
| 226 | + |
| 227 | + def invoke(self, params: RoleExplanationParameters) -> RoleExplanationResponse: |
| 228 | + raise NotImplementedError |
| 229 | + |
| 230 | + def self_test(self) -> Optional[HealthCheckSummary]: |
| 231 | + raise NotImplementedError |
| 232 | + |
| 233 | + |
215 | 234 | @Register(api_type="wca-onprem")
|
216 | 235 | class WCAOnPremPlaybookExplanationPipeline(
|
217 | 236 | WCAOnPremPipeline[PlaybookExplanationParameters, PlaybookExplanationResponse],
|
|
0 commit comments