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
from UnleashClient import UnleashClient
client = UnleashClient(
url="<API url>",
app_name="my-python-app",
custom_headers={'Authorization': '<API token>'})
client = UnleashClient(
url="<API url>",
app_name="my-python-app",
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}