from cognite.client.data_classes import TransformationJobStatus
res = client.transformations.run(id = 1, timeout = 60.0)
if res.status == TransformationJobStatus.RUNNING:
res.cancel()
{}Required capabilities:
transformationsAcl:WRITE
from cognite.client.data_classes import TransformationJobStatus
res = client.transformations.run(id = 1, timeout = 60.0)
if res.status == TransformationJobStatus.RUNNING:
res.cancel()
{}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.
The external ID provided by the client. Must be unique for the resource type.
255"my.known.id"
Empty response.
The response is of type object.
Was this page helpful?