provider

This submodule contains information related to the various supported providers.

String Constants

The provider module contains a string constant for each supported provider.

provider.FLASK = 'flask'
provider.DJANGO = 'django'
provider.GCLOUD = 'gcloud'
provider.LAMBDA = 'lambda'
provider.AZURE = 'azure'

This can be a useful alternative to writing the strings directly.

from dtintegrations import data_connector, provider

event = data_connector.http_push.validate(
    request=request,
    provider=provider.FLASK,
    secret='test-secret',
)