Provider
Verification functions for the Provider model. This module contains functions to verify various aspects of a provider, such as API connectivity, logo, contact email, support email, website_url URL, terms of service URL, privacy policy URL, TOS acceptance, and production API key.
- smarter.apps.provider.verification.provider.should_log(level)[source]
Check if logging should be done based on the waffle switch.
- smarter.apps.provider.verification.provider.verify_provider(provider_id, **kwargs)[source]
Run test bank on provider.
- smarter.apps.provider.verification.provider.verify_provider_api_connectivity(provider, **kwargs)[source]
Verify the API connectivity of the provider.
- Return type:
- smarter.apps.provider.verification.provider.verify_provider_contact_email(provider, **kwargs)[source]
Verify the contact email of the provider.
- Return type:
- smarter.apps.provider.verification.provider.verify_provider_docs_url(provider, **kwargs)[source]
Verify the documentation URL of the provider.
- Return type:
- smarter.apps.provider.verification.provider.verify_provider_logo(provider, **kwargs)[source]
Verify the logo of the provider.
- Return type:
- smarter.apps.provider.verification.provider.verify_provider_privacy_policy_url(provider, **kwargs)[source]
Verify the privacy policy URL of the provider.
- Return type:
- smarter.apps.provider.verification.provider.verify_provider_production_api_key(provider, **kwargs)[source]
Verify the production API key of the provider.
- Return type:
- smarter.apps.provider.verification.provider.verify_provider_support_email(provider, **kwargs)[source]
Verify the support email of the provider.
- Return type:
- smarter.apps.provider.verification.provider.verify_provider_terms_of_service_url(provider, **kwargs)[source]
Verify the terms of service URL of the provider.
- Return type: