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

How to set autoCreateDirectRelations to false for transformations via cdf toolkit

  • August 6, 2026
  • 1 reply
  • 22 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,

1 reply

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

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