@@ -14,6 +14,8 @@ Method | HTTP request | Description
14
14
# ** delete_by_key_from_storage**
15
15
> delete_by_key_from_storage(key, x_monday_access_token)
16
16
17
+
18
+
17
19
### Example
18
20
19
21
@@ -30,14 +32,14 @@ configuration = monday_code.Configuration(
30
32
31
33
32
34
# 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:
34
36
# Create an instance of the API class
35
37
api_instance = monday_code.StorageApi(api_client)
36
38
key = ' key_example' # str |
37
39
x_monday_access_token = ' x_monday_access_token_example' # str |
38
40
39
41
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)
41
43
except Exception as e:
42
44
print (" Exception when calling StorageApi->delete_by_key_from_storage: %s \n " % e)
43
45
```
@@ -76,6 +78,8 @@ No authorization required
76
78
# ** get_by_key_from_storage**
77
79
> StorageDataContract get_by_key_from_storage(key, shared, x_monday_access_token)
78
80
81
+
82
+
79
83
### Example
80
84
81
85
@@ -93,15 +97,15 @@ configuration = monday_code.Configuration(
93
97
94
98
95
99
# 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:
97
101
# Create an instance of the API class
98
102
api_instance = monday_code.StorageApi(api_client)
99
103
key = ' key_example' # str |
100
104
shared = True # bool |
101
105
x_monday_access_token = ' x_monday_access_token_example' # str |
102
106
103
107
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)
105
109
print (" The response of StorageApi->get_by_key_from_storage:\n " )
106
110
pprint(api_response)
107
111
except Exception as e:
@@ -145,6 +149,8 @@ No authorization required
145
149
# ** increment_counter**
146
150
> IncrementCounter200Response increment_counter(x_monday_access_token, increment_counter_params)
147
151
152
+
153
+
148
154
### Example
149
155
150
156
@@ -163,14 +169,14 @@ configuration = monday_code.Configuration(
163
169
164
170
165
171
# 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:
167
173
# Create an instance of the API class
168
174
api_instance = monday_code.StorageApi(api_client)
169
175
x_monday_access_token = ' x_monday_access_token_example' # str |
170
176
increment_counter_params = monday_code.IncrementCounterParams() # IncrementCounterParams |
171
177
172
178
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)
174
180
print (" The response of StorageApi->increment_counter:\n " )
175
181
pprint(api_response)
176
182
except Exception as e:
@@ -211,6 +217,8 @@ No authorization required
211
217
# ** search_record**
212
218
> object search_record(term, x_monday_access_token, cursor=cursor)
213
219
220
+
221
+
214
222
### Example
215
223
216
224
@@ -227,15 +235,15 @@ configuration = monday_code.Configuration(
227
235
228
236
229
237
# 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:
231
239
# Create an instance of the API class
232
240
api_instance = monday_code.StorageApi(api_client)
233
241
term = ' term_example' # str |
234
242
x_monday_access_token = ' x_monday_access_token_example' # str |
235
243
cursor = ' cursor_example' # str | (optional)
236
244
237
245
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)
239
247
print (" The response of StorageApi->search_record:\n " )
240
248
pprint(api_response)
241
249
except Exception as e:
@@ -279,6 +287,8 @@ No authorization required
279
287
# ** upsert_by_key_from_storage**
280
288
> UpsertByKeyFromStorage200Response upsert_by_key_from_storage(key, x_monday_access_token, json_data_contract, shared=shared, previous_version=previous_version, ttl=ttl)
281
289
290
+
291
+
282
292
### Example
283
293
284
294
@@ -297,7 +307,7 @@ configuration = monday_code.Configuration(
297
307
298
308
299
309
# 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:
301
311
# Create an instance of the API class
302
312
api_instance = monday_code.StorageApi(api_client)
303
313
key = ' key_example' # str |
@@ -308,7 +318,7 @@ with monday_code.ApiClient(configuration) as api_client:
308
318
ttl = 3.4 # float | (optional)
309
319
310
320
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)
312
322
print (" The response of StorageApi->upsert_by_key_from_storage:\n " )
313
323
pprint(api_response)
314
324
except Exception as e:
0 commit comments