pycelonis-examples
pycelonis-examples copied to clipboard
Fixing Transformation Mover
[pycelonis-examples]/[03_Connectivity]/02b_Transformation_Mover.ipynb
I found 2 errors in the script:
- last cell executes
global_vars[source_local_var['defaultSettings']['poolVariableId']] = target_id. this runs into an error when defaultSettings: None. I replaced it byglobal_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) - 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.idandsource_local_var['taskId'] = target_data_job.id