Custom Python configs
On the Custom Python Configs tab you can reassign and validate Custom Python configs.
Validating a custom Python config
You can validate custom Python configs and their storage locations in the Resources view.
- Make sure that you have DFDeveloper permission to perform this task. For information on account and resource roles, see Cloudera Data Flow Authorization.
Reassigning a custom Python config to a different project
Learn how to reassign a custom Python config to another project.
- Make sure that you have DFDeveloper permission to perform this task. For information on account and resource roles, see Cloudera Data Flow Authorization.
Python scripts
Relying on Python scripts to perform data transformations within flows is a common pattern for NiFi users. Cloudera Data Flow flow deployments come with Python 3 and the following custom pre-installed packages: requests, urllib3. You can design your flows to use the pre-installed Python runtime as well as install additional custom packages which you might require.
Upload and run Python scripts in flow deployments
If running your data flow requires executing a Python script, you have to upload it when creating your data flow deployment through the Deployment Wizard or the CLI. Follow these steps to configure your NiFi processors correctly and upload your Python script.
Install custom Python libraries in flow deployments
If your data flow requires custom Python packages you can modify your Python script to install these dependencies through the use of NiFi processors.
