pycelonis-examples icon indicating copy to clipboard operation
pycelonis-examples copied to clipboard

Fixing Transformation Mover

Open fbleile opened this issue 3 years ago • 0 comments

[pycelonis-examples]/[03_Connectivity]/02b_Transformation_Mover.ipynb

I found 2 errors in the script:

  1. last cell executes global_vars[source_local_var['defaultSettings']['poolVariableId']] = target_id. this runs into an error when defaultSettings: None. I replaced it by global_vars[source_local_var['settings']['poolVariableId']] = target_id (not sure though what the difference between defaultSettings and settings actually is. did not find an answer in the documentation)
  2. when adding a variable to the target transformation one needs to change two attributes of the source variable. In specific source_local_var['poolId'] = target_data_pool.id and source_local_var['taskId'] = target_data_job.id

fbleile avatar May 11 '22 12:05 fbleile