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:
parent
a3b9dbad24
commit
f2629dfdbc
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user