@@ -62,8 +62,8 @@ API tokens provide secure, long-lived authentication. Set them via environment v
6262
6363 ``` python
6464 from infrahub_sdk import Config, InfrahubClient
65- client = await InfrahubClient(config = Config(api_token = " token" ))
66- client = await InfrahubClient() # token is read from the INFRAHUB_API_TOKEN environment variable
65+ client = InfrahubClient(config = Config(api_token = " token" ))
66+ client = InfrahubClient() # token is read from the INFRAHUB_API_TOKEN environment variable
6767 ```
6868
6969 </TabItem >
@@ -87,8 +87,8 @@ For interactive authentication, use username and password. The SDK automatically
8787
8888 ``` python
8989 from infrahub_sdk import Config, InfrahubClient
90- client = await InfrahubClient(config = Config(username = " admin" , password = " infrahub" ))
91- client = await InfrahubClient() # token is read from the INFRAHUB_USERNAME and INFRAHUB_PASSWORD environment variable
90+ client = InfrahubClient(config = Config(username = " admin" , password = " infrahub" ))
91+ client = InfrahubClient() # token is read from the INFRAHUB_USERNAME and INFRAHUB_PASSWORD environment variable
9292 ```
9393
9494 </TabItem >
@@ -117,7 +117,7 @@ To troubleshoot or understand the queries being sent to Infrahub, enable query e
117117 ``` python
118118 from infrahub_sdk import Config, InfrahubClient
119119 config = Config(echo_graphql_queries = True )
120- client = await InfrahubClient(config = config)
120+ client = InfrahubClient(config = config)
121121 ```
122122
123123 </TabItem >
@@ -146,11 +146,11 @@ Use `INFRAHUB_PROXY` environment variable or the `proxy` configuration parameter
146146 ``` python
147147 from infrahub_sdk import Config, InfrahubClient
148148 config = Config(proxy = " http://proxy.example.com:8080" )
149- client = await InfrahubClient(config = config)
149+ client = InfrahubClient(config = config)
150150
151151 # Or using environment variable
152152 # export INFRAHUB_PROXY=http://proxy.example.com:8080
153- client = await InfrahubClient()
153+ client = InfrahubClient()
154154 ```
155155
156156 </TabItem >
@@ -184,7 +184,7 @@ export INFRAHUB_PROXY_MOUNTS_HTTPS=http://https-proxy.example.com:8080
184184 ``` python
185185 from infrahub_sdk import InfrahubClient
186186 # Proxy configuration is read from environment variables
187- client = await InfrahubClient()
187+ client = InfrahubClient()
188188 ```
189189
190190 </TabItem >
0 commit comments