1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-01-25 00:07:47 +01:00

Fixing indentation of Python example (#1794)

This commit is contained in:
Floyd 2022-07-13 03:33:58 -04:00 committed by GitHub
parent a3b9dbad24
commit f2629dfdbc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,14 +8,14 @@ title: Python SDK
```python ```python
from UnleashClient import UnleashClient from UnleashClient import UnleashClient
client = UnleashClient( client = UnleashClient(
url="<API url>", url="<API url>",
app_name="my-python-app", app_name="my-python-app",
custom_headers={'Authorization': '<API token>'}) custom_headers={'Authorization': '<API token>'})
client.initialize_client() client.initialize_client()
client.is_enabled("unleash.beta.variants") client.is_enabled("unleash.beta.variants")
``` ```
## Checking if a feature is enabled {#checking-if-a-feature-is-enabled} ## Checking if a feature is enabled {#checking-if-a-feature-is-enabled}