Skip to content

Commit 147672f

Browse files
authored
Merge pull request #7 from tuneinsight/v0.13.0
Update to v0.13.0
2 parents 2ec0a2e + 6ae18a1 commit 147672f

File tree

111 files changed

+5172
-2553
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+5172
-2553
lines changed

PKG-INFO

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Metadata-Version: 2.1
22
Name: tuneinsight
3-
Version: 0.12.1
3+
Version: 0.13.0
44
Summary: Diapason is the official Python SDK for the Tune Insight API. The current version is compatible with the same version of the API.
55
License: Apache-2.0
66
Author: Tune Insight SA

pyproject.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "tuneinsight"
3-
version = "0.12.1"
3+
version = "0.13.0"
44
description = "Diapason is the official Python SDK for the Tune Insight API. The current version is compatible with the same version of the API."
55
authors = ["Tune Insight SA"]
66
license = "Apache-2.0"

src/tuneinsight/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ Please refer to the [official documentation](https://dev.tuneinsight.com/docs/Us
88

99
### Installing
1010

11-
Download the latest version of the SDK at https://dev.tuneinsight.com/packages/tuneinsight-diapason-0.12.1.tar.gz, then install it using `pip`.
11+
Download the latest version of the SDK at https://dev.tuneinsight.com/packages/tuneinsight-diapason-0.13.0.tar.gz, then install it using `pip`.
1212

1313
```bash
14-
pip install tuneinsight-diapason-0.12.1.tar.gz
14+
pip install tuneinsight-diapason-0.13.0.tar.gz
1515
```
1616

1717
## License

src/tuneinsight/api/api-checksum

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
f4eafd5de8d93e6b3a226062b5335f18718f6a35ff32ce790b88c7d0148805aa
1+
06fe684eb543d8ba32feb28cdd4e26aeadc4a41b99af728f0246ed66e2304143

src/tuneinsight/api/sdk/api/api_computations/compute.py

+16-69
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@
66
from ... import errors
77
from ...client import Client
88
from ...models.aggregated_dataset_length import AggregatedDatasetLength
9-
from ...models.bootstrap import Bootstrap
10-
from ...models.collective_key_gen import CollectiveKeyGen
119
from ...models.collective_key_switch import CollectiveKeySwitch
1210
from ...models.computation import Computation
1311
from ...models.dataset_statistics import DatasetStatistics
@@ -19,11 +17,8 @@
1917
from ...models.error import Error
2018
from ...models.gwas import GWAS
2119
from ...models.hybrid_fl import HybridFL
22-
from ...models.key_switched_computation import KeySwitchedComputation
2320
from ...models.private_search import PrivateSearch
2421
from ...models.private_search_setup import PrivateSearchSetup
25-
from ...models.relin_key_gen import RelinKeyGen
26-
from ...models.rot_key_gen import RotKeyGen
2722
from ...models.set_intersection import SetIntersection
2823
from ...models.setup_session import SetupSession
2924
from ...models.survival_aggregation import SurvivalAggregation
@@ -36,8 +31,6 @@ def _get_kwargs(
3631
client: Client,
3732
json_body: Union[
3833
"AggregatedDatasetLength",
39-
"Bootstrap",
40-
"CollectiveKeyGen",
4134
"CollectiveKeySwitch",
4235
"DatasetStatistics",
4336
"Dummy",
@@ -47,11 +40,8 @@ def _get_kwargs(
4740
"EncryptedRegression",
4841
"GWAS",
4942
"HybridFL",
50-
"KeySwitchedComputation",
5143
"PrivateSearch",
5244
"PrivateSearchSetup",
53-
"RelinKeyGen",
54-
"RotKeyGen",
5545
"SetIntersection",
5646
"SetupSession",
5747
"SurvivalAggregation",
@@ -68,18 +58,6 @@ def _get_kwargs(
6858
if isinstance(json_body, Dummy):
6959
json_json_body = json_body.to_dict()
7060

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-
8361
elif isinstance(json_body, CollectiveKeySwitch):
8462
json_json_body = json_body.to_dict()
8563

@@ -98,9 +76,6 @@ def _get_kwargs(
9876
elif isinstance(json_body, SetIntersection):
9977
json_json_body = json_body.to_dict()
10078

101-
elif isinstance(json_body, KeySwitchedComputation):
102-
json_json_body = json_body.to_dict()
103-
10479
elif isinstance(json_body, VBinnedAggregation):
10580
json_json_body = json_body.to_dict()
10681

@@ -191,8 +166,6 @@ def sync_detailed(
191166
client: Client,
192167
json_body: Union[
193168
"AggregatedDatasetLength",
194-
"Bootstrap",
195-
"CollectiveKeyGen",
196169
"CollectiveKeySwitch",
197170
"DatasetStatistics",
198171
"Dummy",
@@ -202,11 +175,8 @@ def sync_detailed(
202175
"EncryptedRegression",
203176
"GWAS",
204177
"HybridFL",
205-
"KeySwitchedComputation",
206178
"PrivateSearch",
207179
"PrivateSearchSetup",
208-
"RelinKeyGen",
209-
"RotKeyGen",
210180
"SetIntersection",
211181
"SetupSession",
212182
"SurvivalAggregation",
@@ -216,12 +186,10 @@ def sync_detailed(
216186
"""Request a computation.
217187
218188
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']):
225193
226194
Raises:
227195
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.
@@ -249,8 +217,6 @@ def sync(
249217
client: Client,
250218
json_body: Union[
251219
"AggregatedDatasetLength",
252-
"Bootstrap",
253-
"CollectiveKeyGen",
254220
"CollectiveKeySwitch",
255221
"DatasetStatistics",
256222
"Dummy",
@@ -260,11 +226,8 @@ def sync(
260226
"EncryptedRegression",
261227
"GWAS",
262228
"HybridFL",
263-
"KeySwitchedComputation",
264229
"PrivateSearch",
265230
"PrivateSearchSetup",
266-
"RelinKeyGen",
267-
"RotKeyGen",
268231
"SetIntersection",
269232
"SetupSession",
270233
"SurvivalAggregation",
@@ -274,12 +237,10 @@ def sync(
274237
"""Request a computation.
275238
276239
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']):
283244
284245
Raises:
285246
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(
300261
client: Client,
301262
json_body: Union[
302263
"AggregatedDatasetLength",
303-
"Bootstrap",
304-
"CollectiveKeyGen",
305264
"CollectiveKeySwitch",
306265
"DatasetStatistics",
307266
"Dummy",
@@ -311,11 +270,8 @@ async def asyncio_detailed(
311270
"EncryptedRegression",
312271
"GWAS",
313272
"HybridFL",
314-
"KeySwitchedComputation",
315273
"PrivateSearch",
316274
"PrivateSearchSetup",
317-
"RelinKeyGen",
318-
"RotKeyGen",
319275
"SetIntersection",
320276
"SetupSession",
321277
"SurvivalAggregation",
@@ -325,12 +281,10 @@ async def asyncio_detailed(
325281
"""Request a computation.
326282
327283
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']):
334288
335289
Raises:
336290
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(
356310
client: Client,
357311
json_body: Union[
358312
"AggregatedDatasetLength",
359-
"Bootstrap",
360-
"CollectiveKeyGen",
361313
"CollectiveKeySwitch",
362314
"DatasetStatistics",
363315
"Dummy",
@@ -367,11 +319,8 @@ async def asyncio(
367319
"EncryptedRegression",
368320
"GWAS",
369321
"HybridFL",
370-
"KeySwitchedComputation",
371322
"PrivateSearch",
372323
"PrivateSearchSetup",
373-
"RelinKeyGen",
374-
"RotKeyGen",
375324
"SetIntersection",
376325
"SetupSession",
377326
"SurvivalAggregation",
@@ -381,12 +330,10 @@ async def asyncio(
381330
"""Request a computation.
382331
383332
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']):
390337
391338
Raises:
392339
errors.UnexpectedStatus: If the server returns an undocumented status code and Client.raise_on_unexpected_status is True.

0 commit comments

Comments
 (0)