Table of Contents

Search

  1. Preface
  2. Introduction to Informatica Data Engineering Integration
  3. Mappings
  4. Mapping Optimization
  5. Sources
  6. Targets
  7. Transformations
  8. Python Transformation
  9. Data Preview
  10. Cluster Workflows
  11. Profiles
  12. Monitoring
  13. Hierarchical Data Processing
  14. Hierarchical Data Processing Configuration
  15. Hierarchical Data Processing with Schema Changes
  16. Intelligent Structure Models
  17. Blockchain
  18. Stateful Computing
  19. Appendix A: Connections Reference
  20. Appendix B: Data Type Reference
  21. Appendix C: Function Reference

Creating a Reusable Python Transformation

Creating a Reusable Python Transformation

You can create a reusable Python transformation to use the transformation in multiple mappings. Create a reusable Python transformation in the Developer tool.
  1. In the
    Object Explorer
    view, select a project or a folder.
  2. Click
    File
    New
    Transformation
    .
    The
    New
    dialog box appears.
  3. Select the Python transformation.
  4. Click
    Next
    .
  5. Enter a name for the transformation.
  6. Optionally, select
    Create as Active
    .
  7. Click
    Finish
    .
    The transformation appears in the editor.
  8. In the
    Overview
    view, click the
    New
    button to add a port to the transformation.
  9. Edit the port to set the name, data type, and precision.
    Use port names as variables in the Python code.
  10. In the
    Python
    view, specify the resource files and write the Python code for the transformation.
  11. In the
    Advanced
    view, edit the advanced properties for the transformation.


Updated September 28, 2020