sift_py.rest
¶
| CLASS | DESCRIPTION |
|---|---|
SiftRestConfig |
Config class used to to interact with services that use Sift's REST API.`. |
| FUNCTION | DESCRIPTION |
|---|---|
compute_uri |
|
SiftRestConfig
¶
Bases: TypedDict
Config class used to to interact with services that use Sift's REST API..
-uri: The URI of Sift's REST API. The scheme portion of the URI i.e.https://should be ommitted.
-apikey: User-generated API key generated via the Sift application.
-retry: Urllib3 Retry configuration. If not provided, a default of 3 retries is used.
-use_ssl: INTERNAL USE. Meant to be used for local development.
-cert_via_openssl: Enable this if you want to use OpenSSL to load the certificates.
Runpip install sift-stack-py[openssl]` to install the dependencies required to use this option.
Default is False.
| ATTRIBUTE | DESCRIPTION |
|---|---|
apikey |
TYPE:
|
cert_via_openssl |
TYPE:
|
retry |
TYPE:
|
uri |
TYPE:
|
use_ssl |
TYPE:
|