Skip to content

Fixing Transformation Mover #13

Open
@fbleile

Description

@fbleile

[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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions