@@ -41,11 +41,11 @@ configuration = onepanel.core.api.Configuration(
4141configuration = onepanel.core.api.Configuration(
4242 host = " http://localhost:8888" ,
4343 api_key = {
44- ' Bearer ' : ' YOUR_API_KEY'
44+ ' authorization ' : ' YOUR_API_KEY'
4545 }
4646)
4747# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
48- # configuration.api_key_prefix['Bearer '] = 'Bearer'
48+ # configuration.api_key_prefix['authorization '] = 'Bearer'
4949
5050# Enter a context with an instance of the API client
5151with onepanel.core.api.ApiClient(configuration) as api_client:
@@ -118,11 +118,11 @@ configuration = onepanel.core.api.Configuration(
118118configuration = onepanel.core.api.Configuration(
119119 host = " http://localhost:8888" ,
120120 api_key = {
121- ' Bearer ' : ' YOUR_API_KEY'
121+ ' authorization ' : ' YOUR_API_KEY'
122122 }
123123)
124124# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
125- # configuration.api_key_prefix['Bearer '] = 'Bearer'
125+ # configuration.api_key_prefix['authorization '] = 'Bearer'
126126
127127# Enter a context with an instance of the API client
128128with onepanel.core.api.ApiClient(configuration) as api_client:
@@ -195,11 +195,11 @@ configuration = onepanel.core.api.Configuration(
195195configuration = onepanel.core.api.Configuration(
196196 host = " http://localhost:8888" ,
197197 api_key = {
198- ' Bearer ' : ' YOUR_API_KEY'
198+ ' authorization ' : ' YOUR_API_KEY'
199199 }
200200)
201201# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
202- # configuration.api_key_prefix['Bearer '] = 'Bearer'
202+ # configuration.api_key_prefix['authorization '] = 'Bearer'
203203
204204# Enter a context with an instance of the API client
205205with onepanel.core.api.ApiClient(configuration) as api_client:
@@ -272,11 +272,11 @@ configuration = onepanel.core.api.Configuration(
272272configuration = onepanel.core.api.Configuration(
273273 host = " http://localhost:8888" ,
274274 api_key = {
275- ' Bearer ' : ' YOUR_API_KEY'
275+ ' authorization ' : ' YOUR_API_KEY'
276276 }
277277)
278278# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
279- # configuration.api_key_prefix['Bearer '] = 'Bearer'
279+ # configuration.api_key_prefix['authorization '] = 'Bearer'
280280
281281# Enter a context with an instance of the API client
282282with onepanel.core.api.ApiClient(configuration) as api_client:
@@ -353,11 +353,11 @@ configuration = onepanel.core.api.Configuration(
353353configuration = onepanel.core.api.Configuration(
354354 host = " http://localhost:8888" ,
355355 api_key = {
356- ' Bearer ' : ' YOUR_API_KEY'
356+ ' authorization ' : ' YOUR_API_KEY'
357357 }
358358)
359359# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
360- # configuration.api_key_prefix['Bearer '] = 'Bearer'
360+ # configuration.api_key_prefix['authorization '] = 'Bearer'
361361
362362# Enter a context with an instance of the API client
363363with onepanel.core.api.ApiClient(configuration) as api_client:
@@ -434,11 +434,11 @@ configuration = onepanel.core.api.Configuration(
434434configuration = onepanel.core.api.Configuration(
435435 host = " http://localhost:8888" ,
436436 api_key = {
437- ' Bearer ' : ' YOUR_API_KEY'
437+ ' authorization ' : ' YOUR_API_KEY'
438438 }
439439)
440440# Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
441- # configuration.api_key_prefix['Bearer '] = 'Bearer'
441+ # configuration.api_key_prefix['authorization '] = 'Bearer'
442442
443443# Enter a context with an instance of the API client
444444with onepanel.core.api.ApiClient(configuration) as api_client:
0 commit comments