@@ -14,6 +14,8 @@ Method | HTTP request | Description
1414# ** delete_by_key_from_storage**
1515> delete_by_key_from_storage(key, x_monday_access_token)
1616
17+
18+
1719### Example
1820
1921
@@ -30,14 +32,14 @@ configuration = monday_code.Configuration(
3032
3133
3234# Enter a context with an instance of the API client
33- with monday_code.ApiClient(configuration) as api_client:
35+ async with monday_code.ApiClient(configuration) as api_client:
3436 # Create an instance of the API class
3537 api_instance = monday_code.StorageApi(api_client)
3638 key = ' key_example' # str |
3739 x_monday_access_token = ' x_monday_access_token_example' # str |
3840
3941 try :
40- api_instance.delete_by_key_from_storage(key, x_monday_access_token)
42+ await api_instance.delete_by_key_from_storage(key, x_monday_access_token)
4143 except Exception as e:
4244 print (" Exception when calling StorageApi->delete_by_key_from_storage: %s \n " % e)
4345```
@@ -76,6 +78,8 @@ No authorization required
7678# ** get_by_key_from_storage**
7779> StorageDataContract get_by_key_from_storage(key, shared, x_monday_access_token)
7880
81+
82+
7983### Example
8084
8185
@@ -93,15 +97,15 @@ configuration = monday_code.Configuration(
9397
9498
9599# Enter a context with an instance of the API client
96- with monday_code.ApiClient(configuration) as api_client:
100+ async with monday_code.ApiClient(configuration) as api_client:
97101 # Create an instance of the API class
98102 api_instance = monday_code.StorageApi(api_client)
99103 key = ' key_example' # str |
100104 shared = True # bool |
101105 x_monday_access_token = ' x_monday_access_token_example' # str |
102106
103107 try :
104- api_response = api_instance.get_by_key_from_storage(key, shared, x_monday_access_token)
108+ api_response = await api_instance.get_by_key_from_storage(key, shared, x_monday_access_token)
105109 print (" The response of StorageApi->get_by_key_from_storage:\n " )
106110 pprint(api_response)
107111 except Exception as e:
@@ -145,6 +149,8 @@ No authorization required
145149# ** increment_counter**
146150> IncrementCounter200Response increment_counter(x_monday_access_token, increment_counter_params)
147151
152+
153+
148154### Example
149155
150156
@@ -163,14 +169,14 @@ configuration = monday_code.Configuration(
163169
164170
165171# Enter a context with an instance of the API client
166- with monday_code.ApiClient(configuration) as api_client:
172+ async with monday_code.ApiClient(configuration) as api_client:
167173 # Create an instance of the API class
168174 api_instance = monday_code.StorageApi(api_client)
169175 x_monday_access_token = ' x_monday_access_token_example' # str |
170176 increment_counter_params = monday_code.IncrementCounterParams() # IncrementCounterParams |
171177
172178 try :
173- api_response = api_instance.increment_counter(x_monday_access_token, increment_counter_params)
179+ api_response = await api_instance.increment_counter(x_monday_access_token, increment_counter_params)
174180 print (" The response of StorageApi->increment_counter:\n " )
175181 pprint(api_response)
176182 except Exception as e:
@@ -211,6 +217,8 @@ No authorization required
211217# ** search_record**
212218> object search_record(term, x_monday_access_token, cursor=cursor)
213219
220+
221+
214222### Example
215223
216224
@@ -227,15 +235,15 @@ configuration = monday_code.Configuration(
227235
228236
229237# Enter a context with an instance of the API client
230- with monday_code.ApiClient(configuration) as api_client:
238+ async with monday_code.ApiClient(configuration) as api_client:
231239 # Create an instance of the API class
232240 api_instance = monday_code.StorageApi(api_client)
233241 term = ' term_example' # str |
234242 x_monday_access_token = ' x_monday_access_token_example' # str |
235243 cursor = ' cursor_example' # str | (optional)
236244
237245 try :
238- api_response = api_instance.search_record(term, x_monday_access_token, cursor = cursor)
246+ api_response = await api_instance.search_record(term, x_monday_access_token, cursor = cursor)
239247 print (" The response of StorageApi->search_record:\n " )
240248 pprint(api_response)
241249 except Exception as e:
@@ -279,6 +287,8 @@ No authorization required
279287# ** upsert_by_key_from_storage**
280288> UpsertByKeyFromStorage200Response upsert_by_key_from_storage(key, x_monday_access_token, json_data_contract, shared=shared, previous_version=previous_version, ttl=ttl)
281289
290+
291+
282292### Example
283293
284294
@@ -297,7 +307,7 @@ configuration = monday_code.Configuration(
297307
298308
299309# Enter a context with an instance of the API client
300- with monday_code.ApiClient(configuration) as api_client:
310+ async with monday_code.ApiClient(configuration) as api_client:
301311 # Create an instance of the API class
302312 api_instance = monday_code.StorageApi(api_client)
303313 key = ' key_example' # str |
@@ -308,7 +318,7 @@ with monday_code.ApiClient(configuration) as api_client:
308318 ttl = 3.4 # float | (optional)
309319
310320 try :
311- api_response = api_instance.upsert_by_key_from_storage(key, x_monday_access_token, json_data_contract, shared = shared, previous_version = previous_version, ttl = ttl)
321+ api_response = await api_instance.upsert_by_key_from_storage(key, x_monday_access_token, json_data_contract, shared = shared, previous_version = previous_version, ttl = ttl)
312322 print (" The response of StorageApi->upsert_by_key_from_storage:\n " )
313323 pprint(api_response)
314324 except Exception as e:
0 commit comments