Skip to main content
Marwen TALEB
MVP ⭐️⭐️⭐️⭐️⭐️
MVP ⭐️⭐️⭐️⭐️⭐️
August 6, 2026
Solved

How to set autoCreateDirectRelations to false for transformations via cdf toolkit

  • August 6, 2026
  • 1 reply
  • 59 views

Hello, 

 

the default value for autoCreateDirectRelations for node creation is True. Cdf toolkit do not expose this config at transformation level today. This results into uncontrolled ‘empty’ instance creation when direct relationship nodes does not exist.

Do you plan to expose this config to cdf toolkit so we can change the default behaviour?

ref: https://docs.cognite.com/20230101/instances/create-or-update-nodesedges#body-auto-create-direct-relations

 

Thanks

 

Best,

Best answer by Mithila Jayalath

@Marwen TALEB this has been fixed with this release 0.8.154.

1 reply

Mithila Jayalath
Expert ⭐️⭐️⭐️⭐️
Expert ⭐️⭐️⭐️⭐️
August 6, 2026

@Marwen TALEB this has been fixed with this release 0.8.154.