from cognite.client.data_classes import ExtractionPipelineUpdate
update = ExtractionPipelineUpdate(id=1)
update.description.set("Another new extpipe")
res = client.extraction_pipelines.update(update)
{
"items": [
{
"externalId": "<string>",
"name": "<string>",
"dataSetId": 4503599627370495,
"description": "<string>",
"rawTables": [
{
"dbName": "<string>",
"tableName": "<string>"
}
],
"schedule": "<string>",
"contacts": [
{
"name": "<string>",
"email": "jsmith@example.com",
"role": "<string>",
"sendNotification": true
}
],
"metadata": {
"property1": "string",
"property2": "string"
},
"source": "<string>",
"documentation": "<string>",
"notificationConfig": {
"allowedNotSeenRangeInMinutes": 1
},
"createdBy": "<string>",
"id": 4503599627370495,
"lastSuccess": 123,
"lastFailure": 123,
"lastMessage": "<string>",
"lastSeen": 123,
"createdTime": 1730204346000,
"lastUpdatedTime": 1730204346000
}
]
}Required capabilities:
extractionpipelinesAcl:WRITEdatasetsAcl:READ
Update information for a list of extraction pipelines. Fields that are not included in the request, are not changed.
from cognite.client.data_classes import ExtractionPipelineUpdate
update = ExtractionPipelineUpdate(id=1)
update.description.set("Another new extpipe")
res = client.extraction_pipelines.update(update)
{
"items": [
{
"externalId": "<string>",
"name": "<string>",
"dataSetId": 4503599627370495,
"description": "<string>",
"rawTables": [
{
"dbName": "<string>",
"tableName": "<string>"
}
],
"schedule": "<string>",
"contacts": [
{
"name": "<string>",
"email": "jsmith@example.com",
"role": "<string>",
"sendNotification": true
}
],
"metadata": {
"property1": "string",
"property2": "string"
},
"source": "<string>",
"documentation": "<string>",
"notificationConfig": {
"allowedNotSeenRangeInMinutes": 1
},
"createdBy": "<string>",
"id": 4503599627370495,
"lastSuccess": 123,
"lastFailure": 123,
"lastMessage": "<string>",
"lastSeen": 123,
"createdTime": 1730204346000,
"lastUpdatedTime": 1730204346000
}
]
}Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.
1 - 1000 elementsShow child attributes
Response with the list of updated extraction pipelines
List of extraction pipelines
Show child attributes
Was this page helpful?