Hi Team, I want to change the message for the custom extractor’s run history message by python sdk. Right now, message says “successful shutdown” after successfully running the extractor, but I want to change it with how many datapoints are uploading and in how much time.
I tried to do it by following methods:
- By using abstract class Extractor in our code to overwrite the _report_success method’s message.
2.By using this method
cognite.extractorutils.util.add_extraction_pipeline(extraction_pipeline_ext_id: str, cognite_client: CogniteClient, heartbeat_waiting_time: int = 600, added_message: str = '')
3. By using below class too:
cclient.data_classes.extractionpipelines.ExtractionPipeline(id: int | None = None, external_id: str | None = None, last_message: str | None = None)
There is no way of passing the custom message here in my knowledge if it’s there let me know!
And is there any way to pass logs in extraction pipeline?