from cognite.client.data_classes import TransformationDestination
columns = client.transformations.schema.retrieve(destination = TransformationDestination.assets()){
"items": [
{
"name": "<string>",
"sqlType": "<string>",
"type": {
"type": "<string>"
},
"nullable": true
}
]
}Required capabilities:
transformationsAcl:READ
from cognite.client.data_classes import TransformationDestination
columns = client.transformations.schema.retrieve(destination = TransformationDestination.assets()){
"items": [
{
"name": "<string>",
"sqlType": "<string>",
"type": {
"type": "<string>"
},
"nullable": true
}
]
}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.
Name of the target schema type, please provide one of the following:
assets, timeseries, asset_hierarchy, events, datapoints
string_datapoints, sequences, files, labels,
relationships, raw, data_sets
One of the following conflictMode types can be provided:
abort, upsert, update, delete
Response with the schema columns of the target schema type
Show child attributes
Was this page helpful?