teamdbapi 3.10.0__py3-none-any.whl → 3.10.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- teamdbapi/api/assembly_api.py +23 -23
- {teamdbapi-3.10.0.dist-info → teamdbapi-3.10.1.dist-info}/METADATA +4 -4
- {teamdbapi-3.10.0.dist-info → teamdbapi-3.10.1.dist-info}/RECORD +5 -5
- {teamdbapi-3.10.0.dist-info → teamdbapi-3.10.1.dist-info}/licenses/LICENSE +1 -1
- {teamdbapi-3.10.0.dist-info → teamdbapi-3.10.1.dist-info}/WHEEL +0 -0
teamdbapi/api/assembly_api.py
CHANGED
|
@@ -336,17 +336,17 @@ class AssemblyApi(object):
|
|
|
336
336
|
_request_timeout=params.get('_request_timeout'),
|
|
337
337
|
collection_formats=collection_formats)
|
|
338
338
|
|
|
339
|
-
def compare_assemblies(self,
|
|
339
|
+
def compare_assemblies(self, assembly_a_id, assembly_b_id, **kwargs): # noqa: E501
|
|
340
340
|
"""[Command] Compare 2 assemblies # noqa: E501
|
|
341
341
|
|
|
342
342
|
This method makes a synchronous HTTP request by default. To make an
|
|
343
343
|
asynchronous HTTP request, please pass async_req=True
|
|
344
|
-
>>> thread = api.compare_assemblies(
|
|
344
|
+
>>> thread = api.compare_assemblies(assembly_a_id, assembly_b_id, async_req=True)
|
|
345
345
|
>>> result = thread.get()
|
|
346
346
|
|
|
347
347
|
:param async_req bool
|
|
348
|
-
:param str
|
|
349
|
-
:param str
|
|
348
|
+
:param str assembly_a_id: Assembly A unique Id (required)
|
|
349
|
+
:param str assembly_b_id: Assembly B unique Id (required)
|
|
350
350
|
:param CompareOptions compare_options: The import options. You can leave options empty. By defaut, there will be no filter and no file export. To apply a filter you have to fill ParametersSelectionFilters and ExcludeParametersInSelection. To export a file you must fill OutPathFilePath. The file extension will be automatically replaced by the good one. DiffGroup allows you to select the content of the diff file generated. You can choose A or B. By default B is selected.
|
|
351
351
|
:return: list[CompareResultDetail]
|
|
352
352
|
If the method is called asynchronously,
|
|
@@ -354,29 +354,29 @@ class AssemblyApi(object):
|
|
|
354
354
|
"""
|
|
355
355
|
kwargs['_return_http_data_only'] = True
|
|
356
356
|
if kwargs.get('async_req'):
|
|
357
|
-
return self.compare_assemblies_with_http_info(
|
|
357
|
+
return self.compare_assemblies_with_http_info(assembly_a_id, assembly_b_id, **kwargs) # noqa: E501
|
|
358
358
|
else:
|
|
359
|
-
(data) = self.compare_assemblies_with_http_info(
|
|
359
|
+
(data) = self.compare_assemblies_with_http_info(assembly_a_id, assembly_b_id, **kwargs) # noqa: E501
|
|
360
360
|
return data
|
|
361
361
|
|
|
362
|
-
def compare_assemblies_with_http_info(self,
|
|
362
|
+
def compare_assemblies_with_http_info(self, assembly_a_id, assembly_b_id, **kwargs): # noqa: E501
|
|
363
363
|
"""[Command] Compare 2 assemblies # noqa: E501
|
|
364
364
|
|
|
365
365
|
This method makes a synchronous HTTP request by default. To make an
|
|
366
366
|
asynchronous HTTP request, please pass async_req=True
|
|
367
|
-
>>> thread = api.compare_assemblies_with_http_info(
|
|
367
|
+
>>> thread = api.compare_assemblies_with_http_info(assembly_a_id, assembly_b_id, async_req=True)
|
|
368
368
|
>>> result = thread.get()
|
|
369
369
|
|
|
370
370
|
:param async_req bool
|
|
371
|
-
:param str
|
|
372
|
-
:param str
|
|
371
|
+
:param str assembly_a_id: Assembly A unique Id (required)
|
|
372
|
+
:param str assembly_b_id: Assembly B unique Id (required)
|
|
373
373
|
:param CompareOptions compare_options: The import options. You can leave options empty. By defaut, there will be no filter and no file export. To apply a filter you have to fill ParametersSelectionFilters and ExcludeParametersInSelection. To export a file you must fill OutPathFilePath. The file extension will be automatically replaced by the good one. DiffGroup allows you to select the content of the diff file generated. You can choose A or B. By default B is selected.
|
|
374
374
|
:return: list[CompareResultDetail]
|
|
375
375
|
If the method is called asynchronously,
|
|
376
376
|
returns the request thread.
|
|
377
377
|
"""
|
|
378
378
|
|
|
379
|
-
all_params = ['
|
|
379
|
+
all_params = ['assembly_a_id', 'assembly_b_id', 'compare_options'] # noqa: E501
|
|
380
380
|
all_params.append('async_req')
|
|
381
381
|
all_params.append('_return_http_data_only')
|
|
382
382
|
all_params.append('_preload_content')
|
|
@@ -391,24 +391,24 @@ class AssemblyApi(object):
|
|
|
391
391
|
)
|
|
392
392
|
params[key] = val
|
|
393
393
|
del params['kwargs']
|
|
394
|
-
# verify the required parameter '
|
|
395
|
-
if self.api_client.client_side_validation and ('
|
|
396
|
-
params['
|
|
397
|
-
raise ValueError("Missing the required parameter `
|
|
398
|
-
# verify the required parameter '
|
|
399
|
-
if self.api_client.client_side_validation and ('
|
|
400
|
-
params['
|
|
401
|
-
raise ValueError("Missing the required parameter `
|
|
394
|
+
# verify the required parameter 'assembly_a_id' is set
|
|
395
|
+
if self.api_client.client_side_validation and ('assembly_a_id' not in params or
|
|
396
|
+
params['assembly_a_id'] is None): # noqa: E501
|
|
397
|
+
raise ValueError("Missing the required parameter `assembly_a_id` when calling `compare_assemblies`") # noqa: E501
|
|
398
|
+
# verify the required parameter 'assembly_b_id' is set
|
|
399
|
+
if self.api_client.client_side_validation and ('assembly_b_id' not in params or
|
|
400
|
+
params['assembly_b_id'] is None): # noqa: E501
|
|
401
|
+
raise ValueError("Missing the required parameter `assembly_b_id` when calling `compare_assemblies`") # noqa: E501
|
|
402
402
|
|
|
403
403
|
collection_formats = {}
|
|
404
404
|
|
|
405
405
|
path_params = {}
|
|
406
406
|
|
|
407
407
|
query_params = []
|
|
408
|
-
if '
|
|
409
|
-
query_params.append(('assemblyAId', params['
|
|
410
|
-
if '
|
|
411
|
-
query_params.append(('assemblyBId', params['
|
|
408
|
+
if 'assembly_a_id' in params:
|
|
409
|
+
query_params.append(('assemblyAId', params['assembly_a_id'])) # noqa: E501
|
|
410
|
+
if 'assembly_b_id' in params:
|
|
411
|
+
query_params.append(('assemblyBId', params['assembly_b_id'])) # noqa: E501
|
|
412
412
|
|
|
413
413
|
header_params = {}
|
|
414
414
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: teamdbapi
|
|
3
|
-
Version: 3.10.
|
|
3
|
+
Version: 3.10.1
|
|
4
4
|
Summary: Easily access the TeamDB Web API.
|
|
5
5
|
Keywords: teamdbapi,Trackside,Trackside Software,TeamDB
|
|
6
6
|
Author-email: Trackside Software <support@trackside.fr>
|
|
@@ -17,16 +17,16 @@ Requires-Dist: setuptools >= 21.0.0
|
|
|
17
17
|
Requires-Dist: urllib3 >= 1.15.1
|
|
18
18
|
Project-URL: Home, https://www.tracksidesoftware.fr/teamdb
|
|
19
19
|
|
|
20
|
-
|
|
20
|
+
# teamdbapi
|
|
21
21
|
This module enables you to easily access the TeamDB Web API.
|
|
22
22
|
|
|
23
|
-
- Package version: 3.10.
|
|
23
|
+
- Package version: 3.10.1
|
|
24
24
|
- TeamDB Web API version: 2.0
|
|
25
25
|
|
|
26
26
|
## Requirements.
|
|
27
27
|
|
|
28
28
|
- Python 3.4+
|
|
29
|
-
- TeamDB 3.10.
|
|
29
|
+
- TeamDB 3.10.1
|
|
30
30
|
|
|
31
31
|
## <a name="install">Installation and usage</a>
|
|
32
32
|
### pip install
|
|
@@ -3,7 +3,7 @@ teamdbapi/api_client.py,sha256=HSi8G_KA7_rkkGEsy6BHtSPdDj1SDRoq7Em_XEf0N44,25710
|
|
|
3
3
|
teamdbapi/configuration.py,sha256=Iu-eGFu5KhblY3n23mYHMY-iBkKFqoDYlxDukSEMlxk,8269
|
|
4
4
|
teamdbapi/rest.py,sha256=AeH3u0A94ZziOpUJCzWooYawxc2m7V-b6kKeXwnQMh0,13510
|
|
5
5
|
teamdbapi/api/__init__.py,sha256=bzTXDK-Z0iDBDPlq8nikwo5vW3e5qslWv3b84qdP_7Y,2036
|
|
6
|
-
teamdbapi/api/assembly_api.py,sha256=
|
|
6
|
+
teamdbapi/api/assembly_api.py,sha256=WmVLwvzgSzW3CJwb0uvDgGDd0_GX5r5li1eGXrkbvkY,94535
|
|
7
7
|
teamdbapi/api/car_api.py,sha256=XTG3ZAaXcZC81eeZ5Jmn1XqpVrOwWajNGJHHjJBe4c0,34737
|
|
8
8
|
teamdbapi/api/component_api.py,sha256=nNx3i-AN7YCx1Vayxuj83a91v31II7_ryTrwpPAlv9w,61722
|
|
9
9
|
teamdbapi/api/config_api.py,sha256=g46ycY4_0C0esOwWNZaieXZVOwXgOSlnj7ntHYw-Vps,3961
|
|
@@ -107,7 +107,7 @@ teamdbapi/models/user.py,sha256=fRgeDO-Nx_fJfZOMasAX8y_iXS_j8G5hUiQofmOwny8,4535
|
|
|
107
107
|
teamdbapi/models/user_group.py,sha256=qHkFO_ueJlag0lZFxPZr9GV9hrzYxHrsEGu4T5S4kD8,4624
|
|
108
108
|
teamdbapi/models/value_field.py,sha256=LHRDgcI9hPBd1Lo4vBhY2gjVva9cSeWFQ6Q55a5Z25k,9833
|
|
109
109
|
teamdbapi/models/version.py,sha256=nMBNdx60aMgU7Oh84LkVhz1mxGD_Eu20q-xNGNNeO5w,15538
|
|
110
|
-
teamdbapi-3.10.
|
|
111
|
-
teamdbapi-3.10.
|
|
112
|
-
teamdbapi-3.10.
|
|
113
|
-
teamdbapi-3.10.
|
|
110
|
+
teamdbapi-3.10.1.dist-info/licenses/LICENSE,sha256=NhfqkFFZV-aeuwoqj6QChb9paFPk948GLYaPB6aWeXc,1076
|
|
111
|
+
teamdbapi-3.10.1.dist-info/WHEEL,sha256=G2gURzTEtmeR8nrdXUJfNiB3VYVxigPQ-bEQujpNiNs,82
|
|
112
|
+
teamdbapi-3.10.1.dist-info/METADATA,sha256=DWNW7pG0YmPgduNQB7AR7zjSGD4I9KwSjnvsIpIsL2g,2408
|
|
113
|
+
teamdbapi-3.10.1.dist-info/RECORD,,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
Copyright © 2025 Trackside Software
|
|
2
2
|
|
|
3
3
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4
4
|
|
|
File without changes
|