|
20 | 20 | from kili.domain.types import ListOrTuple |
21 | 21 | from kili.presentation.client.helpers.common_validators import ( |
22 | 22 | disable_tqdm_if_as_generator, |
| 23 | + resolve_disable_tqdm, |
23 | 24 | ) |
24 | 25 | from kili.use_cases.cloud_storage import CloudStorageUseCases |
25 | 26 | from kili.utils.logcontext import for_all_methods, log_call |
@@ -127,6 +128,7 @@ def cloud_storage_connections( |
127 | 128 | " project_id must be specified" |
128 | 129 | ) |
129 | 130 |
|
| 131 | + disable_tqdm = resolve_disable_tqdm(disable_tqdm, getattr(self, "disable_tqdm", None)) |
130 | 132 | disable_tqdm = disable_tqdm_if_as_generator(as_generator, disable_tqdm) |
131 | 133 |
|
132 | 134 | cloud_storage_use_cases = CloudStorageUseCases(self.kili_api_gateway) |
@@ -230,6 +232,7 @@ def cloud_storage_integrations( |
230 | 232 | >>> kili.cloud_storage_integrations() |
231 | 233 | [{'name': 'My bucket', 'id': '123456789', 'platform': 'AWS', 'status': 'CONNECTED'}] |
232 | 234 | """ |
| 235 | + disable_tqdm = resolve_disable_tqdm(disable_tqdm, getattr(self, "disable_tqdm", None)) |
233 | 236 | disable_tqdm = disable_tqdm_if_as_generator(as_generator, disable_tqdm) |
234 | 237 | options = QueryOptions(disable_tqdm, first, skip) |
235 | 238 | data_integrations_gen = CloudStorageUseCases(self.kili_api_gateway).list_data_integrations( |
|
0 commit comments