A custom Python Connection can contain any code to be shared with a read connector.
Similarly, a Credential for a Python Connection can contain any text, code, or key-value pair a long as the code inserted into the Python Connection and/or Read Connector can parse it.
- From the Build pane, select Read Connector
- Next, select + New Connection.
- Select Python from the Custom category.
- Complete the required configurations for your new connection.
- Define any shared custom Python for Python Read Connectors that are created with this connection to access.
- indicate additional PIP packages to install with this connection. PIP packages should be space delimited. Ex.
- If the Requires Credentials checkbox is marked, select an existing Python credential or create a new one.
- In Custom Credentials, insert your credentials. Credentials can be in any format (JSON formatted text, key/value pair, etc.) as long as the Python code provided in Step 2 contains the necessary functions to parse the content within the credential.
External Keys and Secrets Management
Ascend Custom Python Credentials also allows you to call external Keys and utilize and secrets manager within your Credentials. The external key can be added to Credentials in any format. See Developing Your Python Connector to learn how to pass the key into your code.
- Select the TEST CONNECTION button to check whether the Python connection can be parsed with the supplied code and credentials.
- If a green check appears with ALL PASS, select CREATE.
Running TEST CONNECTION will run the code and attempt to parse any defined functions.
Updated 9 months ago