Revert to an earlier config revision
- async AsyncCogniteClient.extraction_pipelines.config.revert(
- external_id: str,
- revision: int,
Revert to a previous configuration revision.
- Parameters:
external_id (str) – External id of the extraction pipeline to revert revision for.
revision (int) – Revision to revert to.
- Returns:
New latest extraction pipeline configuration revision.
- Return type:
Examples
Revert a config revision:
>>> from cognite.client import CogniteClient, AsyncCogniteClient >>> client = CogniteClient() >>> # async_client = AsyncCogniteClient() # another option >>> res = client.extraction_pipelines.config.revert("extId", 5)