teamdbapi 3.14.0__tar.gz → 3.15.0__tar.gz
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-3.14.0 → teamdbapi-3.15.0}/PKG-INFO +3 -3
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/README.md +2 -2
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/pyproject.toml +1 -1
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/assembly_api.py +111 -2
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/calibration.py +31 -3
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/compare_options.py +38 -3
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/.gitignore +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/.swagger-codegen/VERSION +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/.swagger-codegen-ignore +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/.travis.yml +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/LICENSE +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/git_push.sh +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/requirements.txt +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/setup.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/__init__.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/__init__.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/car_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/component_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/config_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/criteria_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/edit_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/event_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/fixed_field_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/group_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/import_export_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/issue_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/lap_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/lap_report_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/measure_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/model_field_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/mounting_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/notes_authorization_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/overall_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/parameter_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/parameter_binding_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/part_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/report_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/revision_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/revision_editor_selector_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/run_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/script_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/session_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/target_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/team_db_list_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/team_db_view_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/tire_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/tire_set_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/track_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/track_layout_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/update_request_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/user_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/value_field_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api/version_api.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/api_client.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/configuration.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/__init__.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/add_part_car_parameter_arg.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/assembly.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/assembly_authorization.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/bleed_adjustment.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/car.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/car_parameters_context.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/compare_result.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/compare_result_detail.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/component.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/component_location.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/copy_from_tags_args.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/couple_guid_text.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/criteria.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/criteria_set.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/criteria_value.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/criteria_value_detail.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/event.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/file_revision_info.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/fixed_field.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/group.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/import_parameters_args.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/import_parameters_results.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/import_revisions_args.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/import_revisions_info.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/import_revisions_results.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/issue.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/issue_custom_field_value.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/issue_priority.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/issue_project.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/issue_sector.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/issue_status.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/issue_type.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/issue_workflow.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/item_value.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/item_value_key.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/lap.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/lap_report_options.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/measure_field.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/measure_value.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/model_field.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/model_field_authorization.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/mounting.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/notes_authorization.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/notes_context.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/overall.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/parameter.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/parameter_binding.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/parameter_cross_table.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/part.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/part_car_parameters.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/part_count.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/revision.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/revision_value.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/run.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/script.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/session.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/string_with_font_style.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/target.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/team_db_list.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/team_db_list_item.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/tire.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/tire_set.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/tire_set_with_tires.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/track.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/track_layout.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/user.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/user_group.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/value_field.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/models/version.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/teamdbapi/rest.py +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/test-requirements.txt +0 -0
- {teamdbapi-3.14.0 → teamdbapi-3.15.0}/tox.ini +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: teamdbapi
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.15.0
|
|
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>
|
|
@@ -20,13 +20,13 @@ Project-URL: Home, https://www.tracksidesoftware.fr/teamdb
|
|
|
20
20
|
# teamdbapi
|
|
21
21
|
This module enables you to easily access the TeamDB Web API.
|
|
22
22
|
|
|
23
|
-
- Package version: 3.
|
|
23
|
+
- Package version: 3.15.0
|
|
24
24
|
- TeamDB Web API version: 2.0
|
|
25
25
|
|
|
26
26
|
## Requirements.
|
|
27
27
|
|
|
28
28
|
- Python 3.4+
|
|
29
|
-
- TeamDB 3.
|
|
29
|
+
- TeamDB 3.15.0
|
|
30
30
|
|
|
31
31
|
## Installation and usage
|
|
32
32
|
### pip install
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# teamdbapi
|
|
2
2
|
This module enables you to easily access the TeamDB Web API.
|
|
3
3
|
|
|
4
|
-
- Package version: 3.
|
|
4
|
+
- Package version: 3.15.0
|
|
5
5
|
- TeamDB Web API version: 2.0
|
|
6
6
|
|
|
7
7
|
## Requirements.
|
|
8
8
|
|
|
9
9
|
- Python 3.4+
|
|
10
|
-
- TeamDB 3.
|
|
10
|
+
- TeamDB 3.15.0
|
|
11
11
|
|
|
12
12
|
## Installation and usage
|
|
13
13
|
### pip install
|
|
@@ -347,7 +347,7 @@ class AssemblyApi(object):
|
|
|
347
347
|
:param async_req bool
|
|
348
348
|
:param str assembly_a_id: Assembly A unique Id (required)
|
|
349
349
|
:param str assembly_b_id: Assembly B unique Id (required)
|
|
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.
|
|
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 (example: C:/path/myFile.m). 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. DiffFileFormat allows you to specify the format of the diff file generated: calibration file (default) or HTML.
|
|
351
351
|
:return: list[CompareResultDetail]
|
|
352
352
|
If the method is called asynchronously,
|
|
353
353
|
returns the request thread.
|
|
@@ -370,7 +370,7 @@ class AssemblyApi(object):
|
|
|
370
370
|
:param async_req bool
|
|
371
371
|
:param str assembly_a_id: Assembly A unique Id (required)
|
|
372
372
|
:param str assembly_b_id: Assembly B unique Id (required)
|
|
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.
|
|
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 (example: C:/path/myFile.m). 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. DiffFileFormat allows you to specify the format of the diff file generated: calibration file (default) or HTML.
|
|
374
374
|
:return: list[CompareResultDetail]
|
|
375
375
|
If the method is called asynchronously,
|
|
376
376
|
returns the request thread.
|
|
@@ -445,6 +445,115 @@ class AssemblyApi(object):
|
|
|
445
445
|
_request_timeout=params.get('_request_timeout'),
|
|
446
446
|
collection_formats=collection_formats)
|
|
447
447
|
|
|
448
|
+
def compare_assemblies_ui(self, assembly_a_id, assembly_b_id, **kwargs): # noqa: E501
|
|
449
|
+
"""[Command] Set the selected assemblies in the compare view UI and run the compare. # noqa: E501
|
|
450
|
+
|
|
451
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
452
|
+
asynchronous HTTP request, please pass async_req=True
|
|
453
|
+
>>> thread = api.compare_assemblies_ui(assembly_a_id, assembly_b_id, async_req=True)
|
|
454
|
+
>>> result = thread.get()
|
|
455
|
+
|
|
456
|
+
:param async_req bool
|
|
457
|
+
:param str assembly_a_id: The assembly A unique ID (required)
|
|
458
|
+
:param str assembly_b_id: The assembly B unique ID (required)
|
|
459
|
+
:param str assembly_c_id: The assembly C unique ID (optionnal)
|
|
460
|
+
:param bool run_compare: Whether to run the compare after selecting the assemblies (optionnal, true as default)
|
|
461
|
+
:return: None
|
|
462
|
+
If the method is called asynchronously,
|
|
463
|
+
returns the request thread.
|
|
464
|
+
"""
|
|
465
|
+
kwargs['_return_http_data_only'] = True
|
|
466
|
+
if kwargs.get('async_req'):
|
|
467
|
+
return self.compare_assemblies_ui_with_http_info(assembly_a_id, assembly_b_id, **kwargs) # noqa: E501
|
|
468
|
+
else:
|
|
469
|
+
(data) = self.compare_assemblies_ui_with_http_info(assembly_a_id, assembly_b_id, **kwargs) # noqa: E501
|
|
470
|
+
return data
|
|
471
|
+
|
|
472
|
+
def compare_assemblies_ui_with_http_info(self, assembly_a_id, assembly_b_id, **kwargs): # noqa: E501
|
|
473
|
+
"""[Command] Set the selected assemblies in the compare view UI and run the compare. # noqa: E501
|
|
474
|
+
|
|
475
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
476
|
+
asynchronous HTTP request, please pass async_req=True
|
|
477
|
+
>>> thread = api.compare_assemblies_ui_with_http_info(assembly_a_id, assembly_b_id, async_req=True)
|
|
478
|
+
>>> result = thread.get()
|
|
479
|
+
|
|
480
|
+
:param async_req bool
|
|
481
|
+
:param str assembly_a_id: The assembly A unique ID (required)
|
|
482
|
+
:param str assembly_b_id: The assembly B unique ID (required)
|
|
483
|
+
:param str assembly_c_id: The assembly C unique ID (optionnal)
|
|
484
|
+
:param bool run_compare: Whether to run the compare after selecting the assemblies (optionnal, true as default)
|
|
485
|
+
:return: None
|
|
486
|
+
If the method is called asynchronously,
|
|
487
|
+
returns the request thread.
|
|
488
|
+
"""
|
|
489
|
+
|
|
490
|
+
all_params = ['assembly_a_id', 'assembly_b_id', 'assembly_c_id', 'run_compare'] # noqa: E501
|
|
491
|
+
all_params.append('async_req')
|
|
492
|
+
all_params.append('_return_http_data_only')
|
|
493
|
+
all_params.append('_preload_content')
|
|
494
|
+
all_params.append('_request_timeout')
|
|
495
|
+
|
|
496
|
+
params = locals()
|
|
497
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
498
|
+
if key not in all_params:
|
|
499
|
+
raise TypeError(
|
|
500
|
+
"Got an unexpected keyword argument '%s'"
|
|
501
|
+
" to method compare_assemblies_ui" % key
|
|
502
|
+
)
|
|
503
|
+
params[key] = val
|
|
504
|
+
del params['kwargs']
|
|
505
|
+
# verify the required parameter 'assembly_a_id' is set
|
|
506
|
+
if self.api_client.client_side_validation and ('assembly_a_id' not in params or
|
|
507
|
+
params['assembly_a_id'] is None): # noqa: E501
|
|
508
|
+
raise ValueError("Missing the required parameter `assembly_a_id` when calling `compare_assemblies_ui`") # noqa: E501
|
|
509
|
+
# verify the required parameter 'assembly_b_id' is set
|
|
510
|
+
if self.api_client.client_side_validation and ('assembly_b_id' not in params or
|
|
511
|
+
params['assembly_b_id'] is None): # noqa: E501
|
|
512
|
+
raise ValueError("Missing the required parameter `assembly_b_id` when calling `compare_assemblies_ui`") # noqa: E501
|
|
513
|
+
|
|
514
|
+
collection_formats = {}
|
|
515
|
+
|
|
516
|
+
path_params = {}
|
|
517
|
+
|
|
518
|
+
query_params = []
|
|
519
|
+
if 'assembly_a_id' in params:
|
|
520
|
+
query_params.append(('assemblyAId', params['assembly_a_id'])) # noqa: E501
|
|
521
|
+
if 'assembly_b_id' in params:
|
|
522
|
+
query_params.append(('assemblyBId', params['assembly_b_id'])) # noqa: E501
|
|
523
|
+
if 'assembly_c_id' in params:
|
|
524
|
+
query_params.append(('assemblyCId', params['assembly_c_id'])) # noqa: E501
|
|
525
|
+
if 'run_compare' in params:
|
|
526
|
+
query_params.append(('runCompare', params['run_compare'])) # noqa: E501
|
|
527
|
+
|
|
528
|
+
header_params = {}
|
|
529
|
+
|
|
530
|
+
form_params = []
|
|
531
|
+
local_var_files = {}
|
|
532
|
+
|
|
533
|
+
body_params = None
|
|
534
|
+
# HTTP header `Accept`
|
|
535
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
536
|
+
['application/json', 'text/json']) # noqa: E501
|
|
537
|
+
|
|
538
|
+
# Authentication setting
|
|
539
|
+
auth_settings = ['TdbApiKey'] # noqa: E501
|
|
540
|
+
|
|
541
|
+
return self.api_client.call_api(
|
|
542
|
+
'/teamdbapi/v2.0/assembly/compareui', 'POST',
|
|
543
|
+
path_params,
|
|
544
|
+
query_params,
|
|
545
|
+
header_params,
|
|
546
|
+
body=body_params,
|
|
547
|
+
post_params=form_params,
|
|
548
|
+
files=local_var_files,
|
|
549
|
+
response_type=None, # noqa: E501
|
|
550
|
+
auth_settings=auth_settings,
|
|
551
|
+
async_req=params.get('async_req'),
|
|
552
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
553
|
+
_preload_content=params.get('_preload_content', True),
|
|
554
|
+
_request_timeout=params.get('_request_timeout'),
|
|
555
|
+
collection_formats=collection_formats)
|
|
556
|
+
|
|
448
557
|
def create_assembly(self, assembly, **kwargs): # noqa: E501
|
|
449
558
|
"""Create an assembly. The revisions list content will be ignored. You must call AddRevisionsToAssembly to add revisions to an assembly. # noqa: E501
|
|
450
559
|
|
|
@@ -55,7 +55,8 @@ class Calibration(object):
|
|
|
55
55
|
'StringFormat': 'str',
|
|
56
56
|
'UpperLimit': 'float',
|
|
57
57
|
'LowerLimit': 'float',
|
|
58
|
-
'ReadOnly': 'bool'
|
|
58
|
+
'ReadOnly': 'bool',
|
|
59
|
+
'LiveTune': 'bool'
|
|
59
60
|
}
|
|
60
61
|
|
|
61
62
|
attribute_map = {
|
|
@@ -81,10 +82,11 @@ class Calibration(object):
|
|
|
81
82
|
'StringFormat': 'StringFormat',
|
|
82
83
|
'UpperLimit': 'UpperLimit',
|
|
83
84
|
'LowerLimit': 'LowerLimit',
|
|
84
|
-
'ReadOnly': 'ReadOnly'
|
|
85
|
+
'ReadOnly': 'ReadOnly',
|
|
86
|
+
'LiveTune': 'LiveTune'
|
|
85
87
|
}
|
|
86
88
|
|
|
87
|
-
def __init__(self, Name=None, Description=None, Reference=None, Data=None, DataType=None, NX=None, NY=None, NZ=None, AxeX=None, AxeY=None, AxeZ=None, CalibrationType=None, GroupePath=None, Unit=None, DataAxeX=None, DataAxeY=None, DataAxeZ=None, IsAxe=None, GroupFullPath=None, StringFormat=None, UpperLimit=None, LowerLimit=None, ReadOnly=None, _configuration=None): # noqa: E501
|
|
89
|
+
def __init__(self, Name=None, Description=None, Reference=None, Data=None, DataType=None, NX=None, NY=None, NZ=None, AxeX=None, AxeY=None, AxeZ=None, CalibrationType=None, GroupePath=None, Unit=None, DataAxeX=None, DataAxeY=None, DataAxeZ=None, IsAxe=None, GroupFullPath=None, StringFormat=None, UpperLimit=None, LowerLimit=None, ReadOnly=None, LiveTune=None, _configuration=None): # noqa: E501
|
|
88
90
|
"""Calibration - a model defined in Swagger""" # noqa: E501
|
|
89
91
|
if _configuration is None:
|
|
90
92
|
_configuration = Configuration()
|
|
@@ -113,6 +115,7 @@ class Calibration(object):
|
|
|
113
115
|
self._UpperLimit = None
|
|
114
116
|
self._LowerLimit = None
|
|
115
117
|
self._ReadOnly = None
|
|
118
|
+
self._LiveTune = None
|
|
116
119
|
self.discriminator = None
|
|
117
120
|
|
|
118
121
|
if Name is not None:
|
|
@@ -161,6 +164,8 @@ class Calibration(object):
|
|
|
161
164
|
self.LowerLimit = LowerLimit
|
|
162
165
|
if ReadOnly is not None:
|
|
163
166
|
self.ReadOnly = ReadOnly
|
|
167
|
+
if LiveTune is not None:
|
|
168
|
+
self.LiveTune = LiveTune
|
|
164
169
|
|
|
165
170
|
@property
|
|
166
171
|
def Name(self):
|
|
@@ -705,6 +710,29 @@ class Calibration(object):
|
|
|
705
710
|
|
|
706
711
|
self._ReadOnly = ReadOnly
|
|
707
712
|
|
|
713
|
+
@property
|
|
714
|
+
def LiveTune(self):
|
|
715
|
+
"""Gets the LiveTune of this Calibration. # noqa: E501
|
|
716
|
+
|
|
717
|
+
True if the parameter value can be tuned in live # noqa: E501
|
|
718
|
+
|
|
719
|
+
:return: The LiveTune of this Calibration. # noqa: E501
|
|
720
|
+
:rtype: bool
|
|
721
|
+
"""
|
|
722
|
+
return self._LiveTune
|
|
723
|
+
|
|
724
|
+
@LiveTune.setter
|
|
725
|
+
def LiveTune(self, LiveTune):
|
|
726
|
+
"""Sets the LiveTune of this Calibration.
|
|
727
|
+
|
|
728
|
+
True if the parameter value can be tuned in live # noqa: E501
|
|
729
|
+
|
|
730
|
+
:param LiveTune: The LiveTune of this Calibration. # noqa: E501
|
|
731
|
+
:type: bool
|
|
732
|
+
"""
|
|
733
|
+
|
|
734
|
+
self._LiveTune = LiveTune
|
|
735
|
+
|
|
708
736
|
def to_dict(self):
|
|
709
737
|
"""Returns the model properties as a dict"""
|
|
710
738
|
result = {}
|
|
@@ -36,17 +36,19 @@ class CompareOptions(object):
|
|
|
36
36
|
'ParametersSelectionFilters': 'list[str]',
|
|
37
37
|
'ExcludeParametersInSelection': 'bool',
|
|
38
38
|
'DiffFilePath': 'str',
|
|
39
|
-
'DiffGroup': 'str'
|
|
39
|
+
'DiffGroup': 'str',
|
|
40
|
+
'DiffFileFormat': 'str'
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
attribute_map = {
|
|
43
44
|
'ParametersSelectionFilters': 'ParametersSelectionFilters',
|
|
44
45
|
'ExcludeParametersInSelection': 'ExcludeParametersInSelection',
|
|
45
46
|
'DiffFilePath': 'DiffFilePath',
|
|
46
|
-
'DiffGroup': 'DiffGroup'
|
|
47
|
+
'DiffGroup': 'DiffGroup',
|
|
48
|
+
'DiffFileFormat': 'DiffFileFormat'
|
|
47
49
|
}
|
|
48
50
|
|
|
49
|
-
def __init__(self, ParametersSelectionFilters=None, ExcludeParametersInSelection=None, DiffFilePath=None, DiffGroup=None, _configuration=None): # noqa: E501
|
|
51
|
+
def __init__(self, ParametersSelectionFilters=None, ExcludeParametersInSelection=None, DiffFilePath=None, DiffGroup=None, DiffFileFormat=None, _configuration=None): # noqa: E501
|
|
50
52
|
"""CompareOptions - a model defined in Swagger""" # noqa: E501
|
|
51
53
|
if _configuration is None:
|
|
52
54
|
_configuration = Configuration()
|
|
@@ -56,6 +58,7 @@ class CompareOptions(object):
|
|
|
56
58
|
self._ExcludeParametersInSelection = None
|
|
57
59
|
self._DiffFilePath = None
|
|
58
60
|
self._DiffGroup = None
|
|
61
|
+
self._DiffFileFormat = None
|
|
59
62
|
self.discriminator = None
|
|
60
63
|
|
|
61
64
|
if ParametersSelectionFilters is not None:
|
|
@@ -66,6 +69,8 @@ class CompareOptions(object):
|
|
|
66
69
|
self.DiffFilePath = DiffFilePath
|
|
67
70
|
if DiffGroup is not None:
|
|
68
71
|
self.DiffGroup = DiffGroup
|
|
72
|
+
if DiffFileFormat is not None:
|
|
73
|
+
self.DiffFileFormat = DiffFileFormat
|
|
69
74
|
|
|
70
75
|
@property
|
|
71
76
|
def ParametersSelectionFilters(self):
|
|
@@ -166,6 +171,36 @@ class CompareOptions(object):
|
|
|
166
171
|
|
|
167
172
|
self._DiffGroup = DiffGroup
|
|
168
173
|
|
|
174
|
+
@property
|
|
175
|
+
def DiffFileFormat(self):
|
|
176
|
+
"""Gets the DiffFileFormat of this CompareOptions. # noqa: E501
|
|
177
|
+
|
|
178
|
+
The differences output file format to use to generate the diff file when DiffFilePath is filled. Calibration format (default) uses the target file format (M, DCM, etc.). HTML format writes a HTML report of the differences. # noqa: E501
|
|
179
|
+
|
|
180
|
+
:return: The DiffFileFormat of this CompareOptions. # noqa: E501
|
|
181
|
+
:rtype: str
|
|
182
|
+
"""
|
|
183
|
+
return self._DiffFileFormat
|
|
184
|
+
|
|
185
|
+
@DiffFileFormat.setter
|
|
186
|
+
def DiffFileFormat(self, DiffFileFormat):
|
|
187
|
+
"""Sets the DiffFileFormat of this CompareOptions.
|
|
188
|
+
|
|
189
|
+
The differences output file format to use to generate the diff file when DiffFilePath is filled. Calibration format (default) uses the target file format (M, DCM, etc.). HTML format writes a HTML report of the differences. # noqa: E501
|
|
190
|
+
|
|
191
|
+
:param DiffFileFormat: The DiffFileFormat of this CompareOptions. # noqa: E501
|
|
192
|
+
:type: str
|
|
193
|
+
"""
|
|
194
|
+
allowed_values = ["Calibration", "HTML"] # noqa: E501
|
|
195
|
+
if (self._configuration.client_side_validation and
|
|
196
|
+
DiffFileFormat not in allowed_values):
|
|
197
|
+
raise ValueError(
|
|
198
|
+
"Invalid value for `DiffFileFormat` ({0}), must be one of {1}" # noqa: E501
|
|
199
|
+
.format(DiffFileFormat, allowed_values)
|
|
200
|
+
)
|
|
201
|
+
|
|
202
|
+
self._DiffFileFormat = DiffFileFormat
|
|
203
|
+
|
|
169
204
|
def to_dict(self):
|
|
170
205
|
"""Returns the model properties as a dict"""
|
|
171
206
|
result = {}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|