teamdbapi 3.14.0__tar.gz → 3.15.5__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.
Files changed (128) hide show
  1. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/PKG-INFO +5 -4
  2. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/README.md +2 -2
  3. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/pyproject.toml +1 -1
  4. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/assembly_api.py +111 -2
  5. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/edit_api.py +5 -1
  6. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/calibration.py +31 -3
  7. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/compare_options.py +38 -3
  8. teamdbapi-3.14.0/.gitignore +0 -64
  9. teamdbapi-3.14.0/.swagger-codegen/VERSION +0 -1
  10. teamdbapi-3.14.0/.swagger-codegen-ignore +0 -23
  11. teamdbapi-3.14.0/.travis.yml +0 -14
  12. teamdbapi-3.14.0/git_push.sh +0 -52
  13. teamdbapi-3.14.0/requirements.txt +0 -5
  14. teamdbapi-3.14.0/setup.py +0 -46
  15. teamdbapi-3.14.0/test-requirements.txt +0 -5
  16. teamdbapi-3.14.0/tox.ini +0 -10
  17. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/LICENSE +0 -0
  18. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/__init__.py +0 -0
  19. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/__init__.py +0 -0
  20. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/car_api.py +0 -0
  21. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/component_api.py +0 -0
  22. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/config_api.py +0 -0
  23. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/criteria_api.py +0 -0
  24. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/event_api.py +0 -0
  25. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/fixed_field_api.py +0 -0
  26. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/group_api.py +0 -0
  27. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/import_export_api.py +0 -0
  28. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/issue_api.py +0 -0
  29. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/lap_api.py +0 -0
  30. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/lap_report_api.py +0 -0
  31. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/measure_api.py +0 -0
  32. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/model_field_api.py +0 -0
  33. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/mounting_api.py +0 -0
  34. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/notes_authorization_api.py +0 -0
  35. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/overall_api.py +0 -0
  36. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/parameter_api.py +0 -0
  37. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/parameter_binding_api.py +0 -0
  38. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/part_api.py +0 -0
  39. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/report_api.py +0 -0
  40. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/revision_api.py +0 -0
  41. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/revision_editor_selector_api.py +0 -0
  42. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/run_api.py +0 -0
  43. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/script_api.py +0 -0
  44. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/session_api.py +0 -0
  45. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/target_api.py +0 -0
  46. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/team_db_list_api.py +0 -0
  47. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/team_db_view_api.py +0 -0
  48. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/tire_api.py +0 -0
  49. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/tire_set_api.py +0 -0
  50. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/track_api.py +0 -0
  51. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/track_layout_api.py +0 -0
  52. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/update_request_api.py +0 -0
  53. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/user_api.py +0 -0
  54. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/value_field_api.py +0 -0
  55. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api/version_api.py +0 -0
  56. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/api_client.py +0 -0
  57. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/configuration.py +0 -0
  58. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/__init__.py +0 -0
  59. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/add_part_car_parameter_arg.py +0 -0
  60. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/assembly.py +0 -0
  61. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/assembly_authorization.py +0 -0
  62. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/bleed_adjustment.py +0 -0
  63. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/car.py +0 -0
  64. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/car_parameters_context.py +0 -0
  65. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/compare_result.py +0 -0
  66. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/compare_result_detail.py +0 -0
  67. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/component.py +0 -0
  68. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/component_location.py +0 -0
  69. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/copy_from_tags_args.py +0 -0
  70. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/couple_guid_text.py +0 -0
  71. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/criteria.py +0 -0
  72. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/criteria_set.py +0 -0
  73. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/criteria_value.py +0 -0
  74. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/criteria_value_detail.py +0 -0
  75. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/event.py +0 -0
  76. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/file_revision_info.py +0 -0
  77. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/fixed_field.py +0 -0
  78. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/group.py +0 -0
  79. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/import_parameters_args.py +0 -0
  80. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/import_parameters_results.py +0 -0
  81. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/import_revisions_args.py +0 -0
  82. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/import_revisions_info.py +0 -0
  83. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/import_revisions_results.py +0 -0
  84. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/issue.py +0 -0
  85. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/issue_custom_field_value.py +0 -0
  86. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/issue_priority.py +0 -0
  87. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/issue_project.py +0 -0
  88. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/issue_sector.py +0 -0
  89. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/issue_status.py +0 -0
  90. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/issue_type.py +0 -0
  91. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/issue_workflow.py +0 -0
  92. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/item_value.py +0 -0
  93. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/item_value_key.py +0 -0
  94. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/lap.py +0 -0
  95. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/lap_report_options.py +0 -0
  96. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/measure_field.py +0 -0
  97. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/measure_value.py +0 -0
  98. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/model_field.py +0 -0
  99. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/model_field_authorization.py +0 -0
  100. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/mounting.py +0 -0
  101. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/notes_authorization.py +0 -0
  102. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/notes_context.py +0 -0
  103. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/overall.py +0 -0
  104. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/parameter.py +0 -0
  105. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/parameter_binding.py +0 -0
  106. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/parameter_cross_table.py +0 -0
  107. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/part.py +0 -0
  108. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/part_car_parameters.py +0 -0
  109. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/part_count.py +0 -0
  110. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/revision.py +0 -0
  111. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/revision_value.py +0 -0
  112. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/run.py +0 -0
  113. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/script.py +0 -0
  114. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/session.py +0 -0
  115. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/string_with_font_style.py +0 -0
  116. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/target.py +0 -0
  117. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/team_db_list.py +0 -0
  118. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/team_db_list_item.py +0 -0
  119. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/tire.py +0 -0
  120. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/tire_set.py +0 -0
  121. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/tire_set_with_tires.py +0 -0
  122. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/track.py +0 -0
  123. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/track_layout.py +0 -0
  124. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/user.py +0 -0
  125. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/user_group.py +0 -0
  126. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/value_field.py +0 -0
  127. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/models/version.py +0 -0
  128. {teamdbapi-3.14.0 → teamdbapi-3.15.5}/teamdbapi/rest.py +0 -0
@@ -1,6 +1,6 @@
1
- Metadata-Version: 2.4
1
+ Metadata-Version: 2.5
2
2
  Name: teamdbapi
3
- Version: 3.14.0
3
+ Version: 3.15.5
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>
@@ -16,17 +16,18 @@ Requires-Dist: python_dateutil >= 2.5.3
16
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
+ Import-Name: teamdbapi
19
20
 
20
21
  # teamdbapi
21
22
  This module enables you to easily access the TeamDB Web API.
22
23
 
23
- - Package version: 3.14.0
24
+ - Package version: 3.15.5
24
25
  - TeamDB Web API version: 2.0
25
26
 
26
27
  ## Requirements.
27
28
 
28
29
  - Python 3.4+
29
- - TeamDB 3.14.0
30
+ - TeamDB 3.15.5
30
31
 
31
32
  ## Installation and usage
32
33
  ### 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.14.0
4
+ - Package version: 3.15.5
5
5
  - TeamDB Web API version: 2.0
6
6
 
7
7
  ## Requirements.
8
8
 
9
9
  - Python 3.4+
10
- - TeamDB 3.14.0
10
+ - TeamDB 3.15.5
11
11
 
12
12
  ## Installation and usage
13
13
  ### pip install
@@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi"
4
4
 
5
5
  [project]
6
6
  name = "teamdbapi"
7
- version = "3.14.0"
7
+ version = "3.15.5"
8
8
  description = "Easily access the TeamDB Web API."
9
9
  authors = [{name = "Trackside Software", email = "support@trackside.fr"}]
10
10
  readme = "README.md"
@@ -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
 
@@ -407,6 +407,7 @@ class EditApi(object):
407
407
 
408
408
  :param async_req bool
409
409
  :param list[CarParametersContext] contexts: The car parameters contexts to set. (required)
410
+ :param bool reset_filters: True to reset the filters so the context is applied regardless of the current filters.
410
411
  :return: None
411
412
  If the method is called asynchronously,
412
413
  returns the request thread.
@@ -428,12 +429,13 @@ class EditApi(object):
428
429
 
429
430
  :param async_req bool
430
431
  :param list[CarParametersContext] contexts: The car parameters contexts to set. (required)
432
+ :param bool reset_filters: True to reset the filters so the context is applied regardless of the current filters.
431
433
  :return: None
432
434
  If the method is called asynchronously,
433
435
  returns the request thread.
434
436
  """
435
437
 
436
- all_params = ['contexts'] # noqa: E501
438
+ all_params = ['contexts', 'reset_filters'] # noqa: E501
437
439
  all_params.append('async_req')
438
440
  all_params.append('_return_http_data_only')
439
441
  all_params.append('_preload_content')
@@ -458,6 +460,8 @@ class EditApi(object):
458
460
  path_params = {}
459
461
 
460
462
  query_params = []
463
+ if 'reset_filters' in params:
464
+ query_params.append(('resetFilters', params['reset_filters'])) # noqa: E501
461
465
 
462
466
  header_params = {}
463
467
 
@@ -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 = {}
@@ -1,64 +0,0 @@
1
- # Byte-compiled / optimized / DLL files
2
- __pycache__/
3
- *.py[cod]
4
- *$py.class
5
-
6
- # C extensions
7
- *.so
8
-
9
- # Distribution / packaging
10
- .Python
11
- env/
12
- build/
13
- develop-eggs/
14
- dist/
15
- downloads/
16
- eggs/
17
- .eggs/
18
- lib/
19
- lib64/
20
- parts/
21
- sdist/
22
- var/
23
- *.egg-info/
24
- .installed.cfg
25
- *.egg
26
-
27
- # PyInstaller
28
- # Usually these files are written by a python script from a template
29
- # before PyInstaller builds the exe, so as to inject date/other infos into it.
30
- *.manifest
31
- *.spec
32
-
33
- # Installer logs
34
- pip-log.txt
35
- pip-delete-this-directory.txt
36
-
37
- # Unit test / coverage reports
38
- htmlcov/
39
- .tox/
40
- .coverage
41
- .coverage.*
42
- .cache
43
- nosetests.xml
44
- coverage.xml
45
- *,cover
46
- .hypothesis/
47
- venv/
48
- .python-version
49
-
50
- # Translations
51
- *.mo
52
- *.pot
53
-
54
- # Django stuff:
55
- *.log
56
-
57
- # Sphinx documentation
58
- docs/_build/
59
-
60
- # PyBuilder
61
- target/
62
-
63
- #Ipython Notebook
64
- .ipynb_checkpoints
@@ -1 +0,0 @@
1
- 2.4.9
@@ -1,23 +0,0 @@
1
- # Swagger Codegen Ignore
2
- # Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen
3
-
4
- # Use this file to prevent files from being overwritten by the generator.
5
- # The patterns follow closely to .gitignore or .dockerignore.
6
-
7
- # As an example, the C# client generator defines ApiClient.cs.
8
- # You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
9
- #ApiClient.cs
10
-
11
- # You can match any string of characters against a directory, file or extension with a single asterisk (*):
12
- #foo/*/qux
13
- # The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
14
-
15
- # You can recursively match patterns against a directory, file or extension with a double asterisk (**):
16
- #foo/**/qux
17
- # This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
18
-
19
- # You can also negate patterns with an exclamation (!).
20
- # For example, you can ignore all files in a docs folder with the file extension .md:
21
- #docs/*.md
22
- # Then explicitly reverse the ignore rule for a single file:
23
- #!docs/README.md
@@ -1,14 +0,0 @@
1
- # ref: https://docs.travis-ci.com/user/languages/python
2
- language: python
3
- python:
4
- - "2.7"
5
- - "3.2"
6
- - "3.3"
7
- - "3.4"
8
- - "3.5"
9
- #- "3.5-dev" # 3.5 development branch
10
- #- "nightly" # points to the latest development branch e.g. 3.6-dev
11
- # command to install dependencies
12
- install: "pip install -r requirements.txt"
13
- # command to run tests
14
- script: nosetests
@@ -1,52 +0,0 @@
1
- #!/bin/sh
2
- # ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
3
- #
4
- # Usage example: /bin/sh ./git_push.sh wing328 swagger-petstore-perl "minor update"
5
-
6
- git_user_id=$1
7
- git_repo_id=$2
8
- release_note=$3
9
-
10
- if [ "$git_user_id" = "" ]; then
11
- git_user_id="GIT_USER_ID"
12
- echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
13
- fi
14
-
15
- if [ "$git_repo_id" = "" ]; then
16
- git_repo_id="GIT_REPO_ID"
17
- echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
18
- fi
19
-
20
- if [ "$release_note" = "" ]; then
21
- release_note="Minor update"
22
- echo "[INFO] No command line input provided. Set \$release_note to $release_note"
23
- fi
24
-
25
- # Initialize the local directory as a Git repository
26
- git init
27
-
28
- # Adds the files in the local repository and stages them for commit.
29
- git add .
30
-
31
- # Commits the tracked changes and prepares them to be pushed to a remote repository.
32
- git commit -m "$release_note"
33
-
34
- # Sets the new remote
35
- git_remote=`git remote`
36
- if [ "$git_remote" = "" ]; then # git remote not defined
37
-
38
- if [ "$GIT_TOKEN" = "" ]; then
39
- echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
40
- git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
41
- else
42
- git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
43
- fi
44
-
45
- fi
46
-
47
- git pull origin master
48
-
49
- # Pushes (Forces) the changes in the local repository up to the remote repository
50
- echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
51
- git push origin master 2>&1 | grep -v 'To https'
52
-
@@ -1,5 +0,0 @@
1
- certifi >= 14.05.14
2
- six >= 1.10
3
- python_dateutil >= 2.5.3
4
- setuptools >= 21.0.0
5
- urllib3 >= 1.15.1
teamdbapi-3.14.0/setup.py DELETED
@@ -1,46 +0,0 @@
1
- # coding: utf-8
2
-
3
- """
4
- Trackside Software TeamDB API v2.0
5
-
6
- This API enables you to access TeamDB data # noqa: E501
7
-
8
- OpenAPI spec version: 2.0
9
- Contact: support@trackside.fr
10
- Generated by: https://github.com/swagger-api/swagger-codegen.git
11
- """
12
-
13
-
14
- from setuptools import setup, find_packages # noqa: H301
15
-
16
- NAME = "teamdbapi"
17
- VERSION = "1.0.0"
18
- # To install the library, run the following
19
- #
20
- # python setup.py install
21
- #
22
- # prerequisite: setuptools
23
- # http://pypi.python.org/pypi/setuptools
24
-
25
- REQUIRES = [
26
- "certifi>=2017.4.17",
27
- "python-dateutil>=2.1",
28
- "six>=1.10",
29
- "urllib3>=1.23"
30
- ]
31
-
32
-
33
- setup(
34
- name=NAME,
35
- version=VERSION,
36
- description="Trackside Software TeamDB API v2.0",
37
- author_email="support@trackside.fr",
38
- url="",
39
- keywords=["Swagger", "Trackside Software TeamDB API v2.0"],
40
- install_requires=REQUIRES,
41
- packages=find_packages(),
42
- include_package_data=True,
43
- long_description="""\
44
- This API enables you to access TeamDB data # noqa: E501
45
- """
46
- )
@@ -1,5 +0,0 @@
1
- coverage>=4.0.3
2
- nose>=1.3.7
3
- pluggy>=0.3.1
4
- py>=1.4.31
5
- randomize>=0.13
teamdbapi-3.14.0/tox.ini DELETED
@@ -1,10 +0,0 @@
1
- [tox]
2
- envlist = py27, py3
3
-
4
- [testenv]
5
- deps=-r{toxinidir}/requirements.txt
6
- -r{toxinidir}/test-requirements.txt
7
-
8
- commands=
9
- nosetests \
10
- []
File without changes
File without changes