6
6
from ... import errors
7
7
from ...client import Client
8
8
from ...models .aggregated_dataset_length import AggregatedDatasetLength
9
- from ...models .bootstrap import Bootstrap
10
- from ...models .collective_key_gen import CollectiveKeyGen
11
9
from ...models .collective_key_switch import CollectiveKeySwitch
12
10
from ...models .computation import Computation
13
11
from ...models .dataset_statistics import DatasetStatistics
19
17
from ...models .error import Error
20
18
from ...models .gwas import GWAS
21
19
from ...models .hybrid_fl import HybridFL
22
- from ...models .key_switched_computation import KeySwitchedComputation
23
20
from ...models .private_search import PrivateSearch
24
21
from ...models .private_search_setup import PrivateSearchSetup
25
- from ...models .relin_key_gen import RelinKeyGen
26
- from ...models .rot_key_gen import RotKeyGen
27
22
from ...models .set_intersection import SetIntersection
28
23
from ...models .setup_session import SetupSession
29
24
from ...models .survival_aggregation import SurvivalAggregation
@@ -36,8 +31,6 @@ def _get_kwargs(
36
31
client : Client ,
37
32
json_body : Union [
38
33
"AggregatedDatasetLength" ,
39
- "Bootstrap" ,
40
- "CollectiveKeyGen" ,
41
34
"CollectiveKeySwitch" ,
42
35
"DatasetStatistics" ,
43
36
"Dummy" ,
@@ -47,11 +40,8 @@ def _get_kwargs(
47
40
"EncryptedRegression" ,
48
41
"GWAS" ,
49
42
"HybridFL" ,
50
- "KeySwitchedComputation" ,
51
43
"PrivateSearch" ,
52
44
"PrivateSearchSetup" ,
53
- "RelinKeyGen" ,
54
- "RotKeyGen" ,
55
45
"SetIntersection" ,
56
46
"SetupSession" ,
57
47
"SurvivalAggregation" ,
@@ -68,18 +58,6 @@ def _get_kwargs(
68
58
if isinstance (json_body , Dummy ):
69
59
json_json_body = json_body .to_dict ()
70
60
71
- elif isinstance (json_body , CollectiveKeyGen ):
72
- json_json_body = json_body .to_dict ()
73
-
74
- elif isinstance (json_body , RelinKeyGen ):
75
- json_json_body = json_body .to_dict ()
76
-
77
- elif isinstance (json_body , RotKeyGen ):
78
- json_json_body = json_body .to_dict ()
79
-
80
- elif isinstance (json_body , Bootstrap ):
81
- json_json_body = json_body .to_dict ()
82
-
83
61
elif isinstance (json_body , CollectiveKeySwitch ):
84
62
json_json_body = json_body .to_dict ()
85
63
@@ -98,9 +76,6 @@ def _get_kwargs(
98
76
elif isinstance (json_body , SetIntersection ):
99
77
json_json_body = json_body .to_dict ()
100
78
101
- elif isinstance (json_body , KeySwitchedComputation ):
102
- json_json_body = json_body .to_dict ()
103
-
104
79
elif isinstance (json_body , VBinnedAggregation ):
105
80
json_json_body = json_body .to_dict ()
106
81
@@ -191,8 +166,6 @@ def sync_detailed(
191
166
client : Client ,
192
167
json_body : Union [
193
168
"AggregatedDatasetLength" ,
194
- "Bootstrap" ,
195
- "CollectiveKeyGen" ,
196
169
"CollectiveKeySwitch" ,
197
170
"DatasetStatistics" ,
198
171
"Dummy" ,
@@ -202,11 +175,8 @@ def sync_detailed(
202
175
"EncryptedRegression" ,
203
176
"GWAS" ,
204
177
"HybridFL" ,
205
- "KeySwitchedComputation" ,
206
178
"PrivateSearch" ,
207
179
"PrivateSearchSetup" ,
208
- "RelinKeyGen" ,
209
- "RotKeyGen" ,
210
180
"SetIntersection" ,
211
181
"SetupSession" ,
212
182
"SurvivalAggregation" ,
@@ -216,12 +186,10 @@ def sync_detailed(
216
186
"""Request a computation.
217
187
218
188
Args:
219
- json_body (Union['AggregatedDatasetLength', 'Bootstrap', 'CollectiveKeyGen',
220
- 'CollectiveKeySwitch', 'DatasetStatistics', 'Dummy', 'EncryptedAggregation',
221
- 'EncryptedMean', 'EncryptedPrediction', 'EncryptedRegression', 'GWAS', 'HybridFL',
222
- 'KeySwitchedComputation', 'PrivateSearch', 'PrivateSearchSetup', 'RelinKeyGen',
223
- 'RotKeyGen', 'SetIntersection', 'SetupSession', 'SurvivalAggregation',
224
- 'VBinnedAggregation']):
189
+ json_body (Union['AggregatedDatasetLength', 'CollectiveKeySwitch', 'DatasetStatistics',
190
+ 'Dummy', 'EncryptedAggregation', 'EncryptedMean', 'EncryptedPrediction',
191
+ 'EncryptedRegression', 'GWAS', 'HybridFL', 'PrivateSearch', 'PrivateSearchSetup',
192
+ 'SetIntersection', 'SetupSession', 'SurvivalAggregation', 'VBinnedAggregation']):
225
193
226
194
Raises:
227
195
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -249,8 +217,6 @@ def sync(
249
217
client : Client ,
250
218
json_body : Union [
251
219
"AggregatedDatasetLength" ,
252
- "Bootstrap" ,
253
- "CollectiveKeyGen" ,
254
220
"CollectiveKeySwitch" ,
255
221
"DatasetStatistics" ,
256
222
"Dummy" ,
@@ -260,11 +226,8 @@ def sync(
260
226
"EncryptedRegression" ,
261
227
"GWAS" ,
262
228
"HybridFL" ,
263
- "KeySwitchedComputation" ,
264
229
"PrivateSearch" ,
265
230
"PrivateSearchSetup" ,
266
- "RelinKeyGen" ,
267
- "RotKeyGen" ,
268
231
"SetIntersection" ,
269
232
"SetupSession" ,
270
233
"SurvivalAggregation" ,
@@ -274,12 +237,10 @@ def sync(
274
237
"""Request a computation.
275
238
276
239
Args:
277
- json_body (Union['AggregatedDatasetLength', 'Bootstrap', 'CollectiveKeyGen',
278
- 'CollectiveKeySwitch', 'DatasetStatistics', 'Dummy', 'EncryptedAggregation',
279
- 'EncryptedMean', 'EncryptedPrediction', 'EncryptedRegression', 'GWAS', 'HybridFL',
280
- 'KeySwitchedComputation', 'PrivateSearch', 'PrivateSearchSetup', 'RelinKeyGen',
281
- 'RotKeyGen', 'SetIntersection', 'SetupSession', 'SurvivalAggregation',
282
- 'VBinnedAggregation']):
240
+ json_body (Union['AggregatedDatasetLength', 'CollectiveKeySwitch', 'DatasetStatistics',
241
+ 'Dummy', 'EncryptedAggregation', 'EncryptedMean', 'EncryptedPrediction',
242
+ 'EncryptedRegression', 'GWAS', 'HybridFL', 'PrivateSearch', 'PrivateSearchSetup',
243
+ 'SetIntersection', 'SetupSession', 'SurvivalAggregation', 'VBinnedAggregation']):
283
244
284
245
Raises:
285
246
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -300,8 +261,6 @@ async def asyncio_detailed(
300
261
client : Client ,
301
262
json_body : Union [
302
263
"AggregatedDatasetLength" ,
303
- "Bootstrap" ,
304
- "CollectiveKeyGen" ,
305
264
"CollectiveKeySwitch" ,
306
265
"DatasetStatistics" ,
307
266
"Dummy" ,
@@ -311,11 +270,8 @@ async def asyncio_detailed(
311
270
"EncryptedRegression" ,
312
271
"GWAS" ,
313
272
"HybridFL" ,
314
- "KeySwitchedComputation" ,
315
273
"PrivateSearch" ,
316
274
"PrivateSearchSetup" ,
317
- "RelinKeyGen" ,
318
- "RotKeyGen" ,
319
275
"SetIntersection" ,
320
276
"SetupSession" ,
321
277
"SurvivalAggregation" ,
@@ -325,12 +281,10 @@ async def asyncio_detailed(
325
281
"""Request a computation.
326
282
327
283
Args:
328
- json_body (Union['AggregatedDatasetLength', 'Bootstrap', 'CollectiveKeyGen',
329
- 'CollectiveKeySwitch', 'DatasetStatistics', 'Dummy', 'EncryptedAggregation',
330
- 'EncryptedMean', 'EncryptedPrediction', 'EncryptedRegression', 'GWAS', 'HybridFL',
331
- 'KeySwitchedComputation', 'PrivateSearch', 'PrivateSearchSetup', 'RelinKeyGen',
332
- 'RotKeyGen', 'SetIntersection', 'SetupSession', 'SurvivalAggregation',
333
- 'VBinnedAggregation']):
284
+ json_body (Union['AggregatedDatasetLength', 'CollectiveKeySwitch', 'DatasetStatistics',
285
+ 'Dummy', 'EncryptedAggregation', 'EncryptedMean', 'EncryptedPrediction',
286
+ 'EncryptedRegression', 'GWAS', 'HybridFL', 'PrivateSearch', 'PrivateSearchSetup',
287
+ 'SetIntersection', 'SetupSession', 'SurvivalAggregation', 'VBinnedAggregation']):
334
288
335
289
Raises:
336
290
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -356,8 +310,6 @@ async def asyncio(
356
310
client : Client ,
357
311
json_body : Union [
358
312
"AggregatedDatasetLength" ,
359
- "Bootstrap" ,
360
- "CollectiveKeyGen" ,
361
313
"CollectiveKeySwitch" ,
362
314
"DatasetStatistics" ,
363
315
"Dummy" ,
@@ -367,11 +319,8 @@ async def asyncio(
367
319
"EncryptedRegression" ,
368
320
"GWAS" ,
369
321
"HybridFL" ,
370
- "KeySwitchedComputation" ,
371
322
"PrivateSearch" ,
372
323
"PrivateSearchSetup" ,
373
- "RelinKeyGen" ,
374
- "RotKeyGen" ,
375
324
"SetIntersection" ,
376
325
"SetupSession" ,
377
326
"SurvivalAggregation" ,
@@ -381,12 +330,10 @@ async def asyncio(
381
330
"""Request a computation.
382
331
383
332
Args:
384
- json_body (Union['AggregatedDatasetLength', 'Bootstrap', 'CollectiveKeyGen',
385
- 'CollectiveKeySwitch', 'DatasetStatistics', 'Dummy', 'EncryptedAggregation',
386
- 'EncryptedMean', 'EncryptedPrediction', 'EncryptedRegression', 'GWAS', 'HybridFL',
387
- 'KeySwitchedComputation', 'PrivateSearch', 'PrivateSearchSetup', 'RelinKeyGen',
388
- 'RotKeyGen', 'SetIntersection', 'SetupSession', 'SurvivalAggregation',
389
- 'VBinnedAggregation']):
333
+ json_body (Union['AggregatedDatasetLength', 'CollectiveKeySwitch', 'DatasetStatistics',
334
+ 'Dummy', 'EncryptedAggregation', 'EncryptedMean', 'EncryptedPrediction',
335
+ 'EncryptedRegression', 'GWAS', 'HybridFL', 'PrivateSearch', 'PrivateSearchSetup',
336
+ 'SetIntersection', 'SetupSession', 'SurvivalAggregation', 'VBinnedAggregation']):
390
337
391
338
Raises:
392
339
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
0 commit comments