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
|
||||
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}
|
||||
|
Loading…
Reference in New Issue
Block a user