...
The connection parameters defined above comes as input while creating connection
Connection Validator:
Write a function and annotate it with @connection_validator
. This option checks the validity of the connection. For example, you can check whether the input credentials entered by the integration user are valid.
...
The function annotated with the connection_validator
decorator must return either an empty array or None
. In the case of errors, it should return an array of ValidationError
.
Dynamic Connection Params
If an integration requires dynamic descriptors based on connection, they can be implemented (in your main.py file) as shown in the below example:
...