def main()

in tools/templates/main.py [0:0]


def main(request):
    """
    Function to execute.

    The standard format of `request` is a JSON object with the following fields:
        `agent`: informal object
        `state`: contains bookmark that marks the data Fivetran has already synced
        `secrets`: optional JSON object that contains access keys or API keys
    """
    # add custom connector code
    config = request.json["secrets"]
    pass