Taipy.core.subscribe pipeline
Subscribe a function to be called on job status change.
The subscription is applied to all jobs created for the execution of pipeline.
Parameters:
Name | Type | Description | Default |
---|---|---|---|
callback |
Callable[[Pipeline, Job], None]
|
The callable function to be called on status change. |
required |
params |
Optional[List[Any]]
|
The parameters to be passed to the callback. |
None
|
pipeline |
Optional[Pipeline]
|
The pipeline to subscribe on. If None, the subscription is actived for all pipelines. |
None
|
Note
Notifications are applied only for jobs created after this subscription.