teamdbapi 3.3.0__tar.gz → 3.5.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.3.0 → teamdbapi-3.5.0}/PKG-INFO +5 -4
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/README.md +2 -2
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/pyproject.toml +1 -1
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/__init__.py +5 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/__init__.py +2 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/component_api.py +186 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/edit_api.py +97 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/mounting_api.py +93 -0
- teamdbapi-3.5.0/teamdbapi/api/overall_api.py +118 -0
- teamdbapi-3.5.0/teamdbapi/api/parameter_binding_api.py +508 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/script_api.py +6 -6
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/value_field_api.py +101 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/__init__.py +3 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/car_parameters_context.py +2 -2
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/component.py +31 -3
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/criteria.py +3 -3
- teamdbapi-3.5.0/teamdbapi/models/criteria_value_detail.py +673 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/fixed_field.py +1 -1
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/model_field.py +1 -1
- teamdbapi-3.5.0/teamdbapi/models/overall.py +198 -0
- teamdbapi-3.5.0/teamdbapi/models/parameter_binding.py +401 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/target.py +31 -3
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/LICENSE +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/assembly_api.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/car_api.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/config_api.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/criteria_api.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/event_api.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/fixed_field_api.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/group_api.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/import_export_api.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/issue_api.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/lap_api.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/lap_report_api.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/model_field_api.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/notes_authorization_api.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/parameter_api.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/part_api.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/report_api.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/revision_api.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/revision_editor_selector_api.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/run_api.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/session_api.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/target_api.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/team_db_list_api.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/team_db_view_api.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/tire_api.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/tire_set_api.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/track_api.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/track_layout_api.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/update_request_api.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/user_api.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api/version_api.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/api_client.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/configuration.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/add_part_car_parameter_arg.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/assembly.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/bleed_adjustment.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/calibration.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/car.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/compare_options.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/compare_result.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/compare_result_detail.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/copy_from_tags_args.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/couple_guid_text.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/criteria_value.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/event.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/file_revision_info.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/group.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/import_parameters_args.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/import_parameters_results.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/import_revisions_args.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/import_revisions_info.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/import_revisions_results.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/issue.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/issue_custom_field_value.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/issue_priority.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/issue_project.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/issue_sector.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/issue_status.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/issue_type.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/issue_workflow.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/item_value.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/item_value_key.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/lap.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/lap_report_options.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/model_field_authorization.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/mounting.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/notes_authorization.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/notes_context.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/parameter.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/parameter_cross_table.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/part.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/part_car_parameters.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/part_count.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/problem_details.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/revision.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/revision_value.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/run.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/script.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/session.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/string_with_font_style.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/team_db_list.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/team_db_list_item.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/tire.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/tire_set.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/track.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/track_layout.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/user.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/user_group.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/value_field.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/models/version.py +0 -0
- {teamdbapi-3.3.0 → teamdbapi-3.5.0}/teamdbapi/rest.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: teamdbapi
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.5.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>
|
|
@@ -9,6 +9,7 @@ Description-Content-Type: text/markdown
|
|
|
9
9
|
Classifier: License :: OSI Approved :: MIT License
|
|
10
10
|
Classifier: Programming Language :: Python
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
|
+
License-File: LICENSE
|
|
12
13
|
Requires-Dist: certifi >= 14.05.14
|
|
13
14
|
Requires-Dist: six >= 1.10
|
|
14
15
|
Requires-Dist: python_dateutil >= 2.5.3
|
|
@@ -19,13 +20,13 @@ Project-URL: Homepage, https://www.tracksidesoftware.fr/teamdb
|
|
|
19
20
|
# teamdbapi
|
|
20
21
|
This module enables you to easily access the TeamDB Web API.
|
|
21
22
|
|
|
22
|
-
- Package version: 3.
|
|
23
|
+
- Package version: 3.5.0
|
|
23
24
|
- TeamDB Web API version: 2.0
|
|
24
25
|
|
|
25
26
|
## Requirements.
|
|
26
27
|
|
|
27
28
|
- Python 3.4+
|
|
28
|
-
- TeamDB 3.
|
|
29
|
+
- TeamDB 3.5.0
|
|
29
30
|
|
|
30
31
|
## Installation and usage
|
|
31
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.5.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.5.0
|
|
11
11
|
|
|
12
12
|
## Installation and usage
|
|
13
13
|
### pip install
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "teamdbapi"
|
|
7
|
-
version = "3.
|
|
7
|
+
version = "3.5.0"
|
|
8
8
|
description = "Easily access the TeamDB Web API."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
authors = [{ name = "Trackside Software", email = "support@trackside.fr" }]
|
|
@@ -31,7 +31,9 @@ from teamdbapi.api.lap_report_api import LapReportApi
|
|
|
31
31
|
from teamdbapi.api.model_field_api import ModelFieldApi
|
|
32
32
|
from teamdbapi.api.mounting_api import MountingApi
|
|
33
33
|
from teamdbapi.api.notes_authorization_api import NotesAuthorizationApi
|
|
34
|
+
from teamdbapi.api.overall_api import OverallApi
|
|
34
35
|
from teamdbapi.api.parameter_api import ParameterApi
|
|
36
|
+
from teamdbapi.api.parameter_binding_api import ParameterBindingApi
|
|
35
37
|
from teamdbapi.api.part_api import PartApi
|
|
36
38
|
from teamdbapi.api.report_api import ReportApi
|
|
37
39
|
from teamdbapi.api.revision_api import RevisionApi
|
|
@@ -68,6 +70,7 @@ from teamdbapi.models.copy_from_tags_args import CopyFromTagsArgs
|
|
|
68
70
|
from teamdbapi.models.couple_guid_text import CoupleGuidText
|
|
69
71
|
from teamdbapi.models.criteria import Criteria
|
|
70
72
|
from teamdbapi.models.criteria_value import CriteriaValue
|
|
73
|
+
from teamdbapi.models.criteria_value_detail import CriteriaValueDetail
|
|
71
74
|
from teamdbapi.models.event import Event
|
|
72
75
|
from teamdbapi.models.file_revision_info import FileRevisionInfo
|
|
73
76
|
from teamdbapi.models.fixed_field import FixedField
|
|
@@ -94,7 +97,9 @@ from teamdbapi.models.model_field_authorization import ModelFieldAuthorization
|
|
|
94
97
|
from teamdbapi.models.mounting import Mounting
|
|
95
98
|
from teamdbapi.models.notes_authorization import NotesAuthorization
|
|
96
99
|
from teamdbapi.models.notes_context import NotesContext
|
|
100
|
+
from teamdbapi.models.overall import Overall
|
|
97
101
|
from teamdbapi.models.parameter import Parameter
|
|
102
|
+
from teamdbapi.models.parameter_binding import ParameterBinding
|
|
98
103
|
from teamdbapi.models.parameter_cross_table import ParameterCrossTable
|
|
99
104
|
from teamdbapi.models.part import Part
|
|
100
105
|
from teamdbapi.models.part_car_parameters import PartCarParameters
|
|
@@ -19,7 +19,9 @@ from teamdbapi.api.lap_report_api import LapReportApi
|
|
|
19
19
|
from teamdbapi.api.model_field_api import ModelFieldApi
|
|
20
20
|
from teamdbapi.api.mounting_api import MountingApi
|
|
21
21
|
from teamdbapi.api.notes_authorization_api import NotesAuthorizationApi
|
|
22
|
+
from teamdbapi.api.overall_api import OverallApi
|
|
22
23
|
from teamdbapi.api.parameter_api import ParameterApi
|
|
24
|
+
from teamdbapi.api.parameter_binding_api import ParameterBindingApi
|
|
23
25
|
from teamdbapi.api.part_api import PartApi
|
|
24
26
|
from teamdbapi.api.report_api import ReportApi
|
|
25
27
|
from teamdbapi.api.revision_api import RevisionApi
|
|
@@ -545,6 +545,107 @@ class ComponentApi(object):
|
|
|
545
545
|
_request_timeout=params.get('_request_timeout'),
|
|
546
546
|
collection_formats=collection_formats)
|
|
547
547
|
|
|
548
|
+
def get_component_revision_criteria_details(self, component_id, revision_id, **kwargs): # noqa: E501
|
|
549
|
+
"""Get the component's revision criteria values for each run # noqa: E501
|
|
550
|
+
|
|
551
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
552
|
+
asynchronous HTTP request, please pass async_req=True
|
|
553
|
+
>>> thread = api.get_component_revision_criteria_details(component_id, revision_id, async_req=True)
|
|
554
|
+
>>> result = thread.get()
|
|
555
|
+
|
|
556
|
+
:param async_req bool
|
|
557
|
+
:param str component_id: The unique identifier of the component. (required)
|
|
558
|
+
:param str revision_id: The unique identifier of the component revision. (required)
|
|
559
|
+
:return: list[CriteriaValueDetail]
|
|
560
|
+
If the method is called asynchronously,
|
|
561
|
+
returns the request thread.
|
|
562
|
+
"""
|
|
563
|
+
kwargs['_return_http_data_only'] = True
|
|
564
|
+
if kwargs.get('async_req'):
|
|
565
|
+
return self.get_component_revision_criteria_details_with_http_info(component_id, revision_id, **kwargs) # noqa: E501
|
|
566
|
+
else:
|
|
567
|
+
(data) = self.get_component_revision_criteria_details_with_http_info(component_id, revision_id, **kwargs) # noqa: E501
|
|
568
|
+
return data
|
|
569
|
+
|
|
570
|
+
def get_component_revision_criteria_details_with_http_info(self, component_id, revision_id, **kwargs): # noqa: E501
|
|
571
|
+
"""Get the component's revision criteria values for each run # noqa: E501
|
|
572
|
+
|
|
573
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
574
|
+
asynchronous HTTP request, please pass async_req=True
|
|
575
|
+
>>> thread = api.get_component_revision_criteria_details_with_http_info(component_id, revision_id, async_req=True)
|
|
576
|
+
>>> result = thread.get()
|
|
577
|
+
|
|
578
|
+
:param async_req bool
|
|
579
|
+
:param str component_id: The unique identifier of the component. (required)
|
|
580
|
+
:param str revision_id: The unique identifier of the component revision. (required)
|
|
581
|
+
:return: list[CriteriaValueDetail]
|
|
582
|
+
If the method is called asynchronously,
|
|
583
|
+
returns the request thread.
|
|
584
|
+
"""
|
|
585
|
+
|
|
586
|
+
all_params = ['component_id', 'revision_id'] # noqa: E501
|
|
587
|
+
all_params.append('async_req')
|
|
588
|
+
all_params.append('_return_http_data_only')
|
|
589
|
+
all_params.append('_preload_content')
|
|
590
|
+
all_params.append('_request_timeout')
|
|
591
|
+
|
|
592
|
+
params = locals()
|
|
593
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
594
|
+
if key not in all_params:
|
|
595
|
+
raise TypeError(
|
|
596
|
+
"Got an unexpected keyword argument '%s'"
|
|
597
|
+
" to method get_component_revision_criteria_details" % key
|
|
598
|
+
)
|
|
599
|
+
params[key] = val
|
|
600
|
+
del params['kwargs']
|
|
601
|
+
# verify the required parameter 'component_id' is set
|
|
602
|
+
if ('component_id' not in params or
|
|
603
|
+
params['component_id'] is None):
|
|
604
|
+
raise ValueError("Missing the required parameter `component_id` when calling `get_component_revision_criteria_details`") # noqa: E501
|
|
605
|
+
# verify the required parameter 'revision_id' is set
|
|
606
|
+
if ('revision_id' not in params or
|
|
607
|
+
params['revision_id'] is None):
|
|
608
|
+
raise ValueError("Missing the required parameter `revision_id` when calling `get_component_revision_criteria_details`") # noqa: E501
|
|
609
|
+
|
|
610
|
+
collection_formats = {}
|
|
611
|
+
|
|
612
|
+
path_params = {}
|
|
613
|
+
if 'component_id' in params:
|
|
614
|
+
path_params['componentId'] = params['component_id'] # noqa: E501
|
|
615
|
+
if 'revision_id' in params:
|
|
616
|
+
path_params['revisionId'] = params['revision_id'] # noqa: E501
|
|
617
|
+
|
|
618
|
+
query_params = []
|
|
619
|
+
|
|
620
|
+
header_params = {}
|
|
621
|
+
|
|
622
|
+
form_params = []
|
|
623
|
+
local_var_files = {}
|
|
624
|
+
|
|
625
|
+
body_params = None
|
|
626
|
+
# HTTP header `Accept`
|
|
627
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
628
|
+
['application/json', 'text/json']) # noqa: E501
|
|
629
|
+
|
|
630
|
+
# Authentication setting
|
|
631
|
+
auth_settings = [] # noqa: E501
|
|
632
|
+
|
|
633
|
+
return self.api_client.call_api(
|
|
634
|
+
'/teamdbapi/v2.0/component/{componentId}/revision/{revisionId}/criteriadetails', 'GET',
|
|
635
|
+
path_params,
|
|
636
|
+
query_params,
|
|
637
|
+
header_params,
|
|
638
|
+
body=body_params,
|
|
639
|
+
post_params=form_params,
|
|
640
|
+
files=local_var_files,
|
|
641
|
+
response_type='list[CriteriaValueDetail]', # noqa: E501
|
|
642
|
+
auth_settings=auth_settings,
|
|
643
|
+
async_req=params.get('async_req'),
|
|
644
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
645
|
+
_preload_content=params.get('_preload_content', True),
|
|
646
|
+
_request_timeout=params.get('_request_timeout'),
|
|
647
|
+
collection_formats=collection_formats)
|
|
648
|
+
|
|
548
649
|
def get_component_revisions(self, component_id, **kwargs): # noqa: E501
|
|
549
650
|
"""Get all revisions of a component from it's unique identifier. # noqa: E501
|
|
550
651
|
|
|
@@ -957,6 +1058,91 @@ class ComponentApi(object):
|
|
|
957
1058
|
_request_timeout=params.get('_request_timeout'),
|
|
958
1059
|
collection_formats=collection_formats)
|
|
959
1060
|
|
|
1061
|
+
def trigger_lifing_export_components(self, **kwargs): # noqa: E501
|
|
1062
|
+
"""[Command] Trigger the lifing export components. The export concerns the components lifed linked to a mountinng and updated during the N last days (depending on the server configuration option: Export lifing component period) # noqa: E501
|
|
1063
|
+
|
|
1064
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1065
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1066
|
+
>>> thread = api.trigger_lifing_export_components(async_req=True)
|
|
1067
|
+
>>> result = thread.get()
|
|
1068
|
+
|
|
1069
|
+
:param async_req bool
|
|
1070
|
+
:return: None
|
|
1071
|
+
If the method is called asynchronously,
|
|
1072
|
+
returns the request thread.
|
|
1073
|
+
"""
|
|
1074
|
+
kwargs['_return_http_data_only'] = True
|
|
1075
|
+
if kwargs.get('async_req'):
|
|
1076
|
+
return self.trigger_lifing_export_components_with_http_info(**kwargs) # noqa: E501
|
|
1077
|
+
else:
|
|
1078
|
+
(data) = self.trigger_lifing_export_components_with_http_info(**kwargs) # noqa: E501
|
|
1079
|
+
return data
|
|
1080
|
+
|
|
1081
|
+
def trigger_lifing_export_components_with_http_info(self, **kwargs): # noqa: E501
|
|
1082
|
+
"""[Command] Trigger the lifing export components. The export concerns the components lifed linked to a mountinng and updated during the N last days (depending on the server configuration option: Export lifing component period) # noqa: E501
|
|
1083
|
+
|
|
1084
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
1085
|
+
asynchronous HTTP request, please pass async_req=True
|
|
1086
|
+
>>> thread = api.trigger_lifing_export_components_with_http_info(async_req=True)
|
|
1087
|
+
>>> result = thread.get()
|
|
1088
|
+
|
|
1089
|
+
:param async_req bool
|
|
1090
|
+
:return: None
|
|
1091
|
+
If the method is called asynchronously,
|
|
1092
|
+
returns the request thread.
|
|
1093
|
+
"""
|
|
1094
|
+
|
|
1095
|
+
all_params = [] # noqa: E501
|
|
1096
|
+
all_params.append('async_req')
|
|
1097
|
+
all_params.append('_return_http_data_only')
|
|
1098
|
+
all_params.append('_preload_content')
|
|
1099
|
+
all_params.append('_request_timeout')
|
|
1100
|
+
|
|
1101
|
+
params = locals()
|
|
1102
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1103
|
+
if key not in all_params:
|
|
1104
|
+
raise TypeError(
|
|
1105
|
+
"Got an unexpected keyword argument '%s'"
|
|
1106
|
+
" to method trigger_lifing_export_components" % key
|
|
1107
|
+
)
|
|
1108
|
+
params[key] = val
|
|
1109
|
+
del params['kwargs']
|
|
1110
|
+
|
|
1111
|
+
collection_formats = {}
|
|
1112
|
+
|
|
1113
|
+
path_params = {}
|
|
1114
|
+
|
|
1115
|
+
query_params = []
|
|
1116
|
+
|
|
1117
|
+
header_params = {}
|
|
1118
|
+
|
|
1119
|
+
form_params = []
|
|
1120
|
+
local_var_files = {}
|
|
1121
|
+
|
|
1122
|
+
body_params = None
|
|
1123
|
+
# HTTP header `Accept`
|
|
1124
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1125
|
+
['application/json', 'text/json']) # noqa: E501
|
|
1126
|
+
|
|
1127
|
+
# Authentication setting
|
|
1128
|
+
auth_settings = [] # noqa: E501
|
|
1129
|
+
|
|
1130
|
+
return self.api_client.call_api(
|
|
1131
|
+
'/teamdbapi/v2.0/component/export', 'POST',
|
|
1132
|
+
path_params,
|
|
1133
|
+
query_params,
|
|
1134
|
+
header_params,
|
|
1135
|
+
body=body_params,
|
|
1136
|
+
post_params=form_params,
|
|
1137
|
+
files=local_var_files,
|
|
1138
|
+
response_type=None, # noqa: E501
|
|
1139
|
+
auth_settings=auth_settings,
|
|
1140
|
+
async_req=params.get('async_req'),
|
|
1141
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1142
|
+
_preload_content=params.get('_preload_content', True),
|
|
1143
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1144
|
+
collection_formats=collection_formats)
|
|
1145
|
+
|
|
960
1146
|
def update_component_revision(self, component_id, revision_id, **kwargs): # noqa: E501
|
|
961
1147
|
"""Update a component revision from it's unique identifiers. # noqa: E501
|
|
962
1148
|
|
|
@@ -396,6 +396,103 @@ class EditApi(object):
|
|
|
396
396
|
_request_timeout=params.get('_request_timeout'),
|
|
397
397
|
collection_formats=collection_formats)
|
|
398
398
|
|
|
399
|
+
def set_car_parameters_contexts(self, body, **kwargs): # noqa: E501
|
|
400
|
+
"""[Command] Set car parameters contexts in TeamDB client layouts, or the global context only if the Use Global Context option is active. # noqa: E501
|
|
401
|
+
|
|
402
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
403
|
+
asynchronous HTTP request, please pass async_req=True
|
|
404
|
+
>>> thread = api.set_car_parameters_contexts(body, async_req=True)
|
|
405
|
+
>>> result = thread.get()
|
|
406
|
+
|
|
407
|
+
:param async_req bool
|
|
408
|
+
:param list[CarParametersContext] body: The car parameters contexts to set. (required)
|
|
409
|
+
:return: None
|
|
410
|
+
If the method is called asynchronously,
|
|
411
|
+
returns the request thread.
|
|
412
|
+
"""
|
|
413
|
+
kwargs['_return_http_data_only'] = True
|
|
414
|
+
if kwargs.get('async_req'):
|
|
415
|
+
return self.set_car_parameters_contexts_with_http_info(body, **kwargs) # noqa: E501
|
|
416
|
+
else:
|
|
417
|
+
(data) = self.set_car_parameters_contexts_with_http_info(body, **kwargs) # noqa: E501
|
|
418
|
+
return data
|
|
419
|
+
|
|
420
|
+
def set_car_parameters_contexts_with_http_info(self, body, **kwargs): # noqa: E501
|
|
421
|
+
"""[Command] Set car parameters contexts in TeamDB client layouts, or the global context only if the Use Global Context option is active. # noqa: E501
|
|
422
|
+
|
|
423
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
424
|
+
asynchronous HTTP request, please pass async_req=True
|
|
425
|
+
>>> thread = api.set_car_parameters_contexts_with_http_info(body, async_req=True)
|
|
426
|
+
>>> result = thread.get()
|
|
427
|
+
|
|
428
|
+
:param async_req bool
|
|
429
|
+
:param list[CarParametersContext] body: The car parameters contexts to set. (required)
|
|
430
|
+
:return: None
|
|
431
|
+
If the method is called asynchronously,
|
|
432
|
+
returns the request thread.
|
|
433
|
+
"""
|
|
434
|
+
|
|
435
|
+
all_params = ['body'] # noqa: E501
|
|
436
|
+
all_params.append('async_req')
|
|
437
|
+
all_params.append('_return_http_data_only')
|
|
438
|
+
all_params.append('_preload_content')
|
|
439
|
+
all_params.append('_request_timeout')
|
|
440
|
+
|
|
441
|
+
params = locals()
|
|
442
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
443
|
+
if key not in all_params:
|
|
444
|
+
raise TypeError(
|
|
445
|
+
"Got an unexpected keyword argument '%s'"
|
|
446
|
+
" to method set_car_parameters_contexts" % key
|
|
447
|
+
)
|
|
448
|
+
params[key] = val
|
|
449
|
+
del params['kwargs']
|
|
450
|
+
# verify the required parameter 'body' is set
|
|
451
|
+
if ('body' not in params or
|
|
452
|
+
params['body'] is None):
|
|
453
|
+
raise ValueError("Missing the required parameter `body` when calling `set_car_parameters_contexts`") # noqa: E501
|
|
454
|
+
|
|
455
|
+
collection_formats = {}
|
|
456
|
+
|
|
457
|
+
path_params = {}
|
|
458
|
+
|
|
459
|
+
query_params = []
|
|
460
|
+
|
|
461
|
+
header_params = {}
|
|
462
|
+
|
|
463
|
+
form_params = []
|
|
464
|
+
local_var_files = {}
|
|
465
|
+
|
|
466
|
+
body_params = None
|
|
467
|
+
if 'body' in params:
|
|
468
|
+
body_params = params['body']
|
|
469
|
+
# HTTP header `Accept`
|
|
470
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
471
|
+
['application/json', 'text/json']) # noqa: E501
|
|
472
|
+
|
|
473
|
+
# HTTP header `Content-Type`
|
|
474
|
+
header_params['Content-Type'] = self.api_client.select_header_content_type( # noqa: E501
|
|
475
|
+
['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
|
|
476
|
+
|
|
477
|
+
# Authentication setting
|
|
478
|
+
auth_settings = [] # noqa: E501
|
|
479
|
+
|
|
480
|
+
return self.api_client.call_api(
|
|
481
|
+
'/teamdbapi/v2.0/CarParametersContexts', 'POST',
|
|
482
|
+
path_params,
|
|
483
|
+
query_params,
|
|
484
|
+
header_params,
|
|
485
|
+
body=body_params,
|
|
486
|
+
post_params=form_params,
|
|
487
|
+
files=local_var_files,
|
|
488
|
+
response_type=None, # noqa: E501
|
|
489
|
+
auth_settings=auth_settings,
|
|
490
|
+
async_req=params.get('async_req'),
|
|
491
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
492
|
+
_preload_content=params.get('_preload_content', True),
|
|
493
|
+
_request_timeout=params.get('_request_timeout'),
|
|
494
|
+
collection_formats=collection_formats)
|
|
495
|
+
|
|
399
496
|
def set_current_context(self, event_id, car_id, session_id, run_id, lap_id, **kwargs): # noqa: E501
|
|
400
497
|
"""[Command] Set the current Event, Car, Session, Run, Lap selected. Enter the empty unique identifier value 00000000-0000-0000-0000-000000000000 to select the default value. # noqa: E501
|
|
401
498
|
|
|
@@ -217,3 +217,96 @@ class MountingApi(object):
|
|
|
217
217
|
_preload_content=params.get('_preload_content', True),
|
|
218
218
|
_request_timeout=params.get('_request_timeout'),
|
|
219
219
|
collection_formats=collection_formats)
|
|
220
|
+
|
|
221
|
+
def get_mounting_revision_content_with_missing(self, revision_id, **kwargs): # noqa: E501
|
|
222
|
+
"""Gets the list of first-level components of a mounting revision. And includes missing components. Missing component properties will be empty or equal to defaut values. Only the parent part properties will be filled. # noqa: E501
|
|
223
|
+
|
|
224
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
225
|
+
asynchronous HTTP request, please pass async_req=True
|
|
226
|
+
>>> thread = api.get_mounting_revision_content_with_missing(revision_id, async_req=True)
|
|
227
|
+
>>> result = thread.get()
|
|
228
|
+
|
|
229
|
+
:param async_req bool
|
|
230
|
+
:param str revision_id: The unique identifier of the mounting revision for which you wish to obtain the list of first-level components. (required)
|
|
231
|
+
:return: list[Component]
|
|
232
|
+
If the method is called asynchronously,
|
|
233
|
+
returns the request thread.
|
|
234
|
+
"""
|
|
235
|
+
kwargs['_return_http_data_only'] = True
|
|
236
|
+
if kwargs.get('async_req'):
|
|
237
|
+
return self.get_mounting_revision_content_with_missing_with_http_info(revision_id, **kwargs) # noqa: E501
|
|
238
|
+
else:
|
|
239
|
+
(data) = self.get_mounting_revision_content_with_missing_with_http_info(revision_id, **kwargs) # noqa: E501
|
|
240
|
+
return data
|
|
241
|
+
|
|
242
|
+
def get_mounting_revision_content_with_missing_with_http_info(self, revision_id, **kwargs): # noqa: E501
|
|
243
|
+
"""Gets the list of first-level components of a mounting revision. And includes missing components. Missing component properties will be empty or equal to defaut values. Only the parent part properties will be filled. # noqa: E501
|
|
244
|
+
|
|
245
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
246
|
+
asynchronous HTTP request, please pass async_req=True
|
|
247
|
+
>>> thread = api.get_mounting_revision_content_with_missing_with_http_info(revision_id, async_req=True)
|
|
248
|
+
>>> result = thread.get()
|
|
249
|
+
|
|
250
|
+
:param async_req bool
|
|
251
|
+
:param str revision_id: The unique identifier of the mounting revision for which you wish to obtain the list of first-level components. (required)
|
|
252
|
+
:return: list[Component]
|
|
253
|
+
If the method is called asynchronously,
|
|
254
|
+
returns the request thread.
|
|
255
|
+
"""
|
|
256
|
+
|
|
257
|
+
all_params = ['revision_id'] # noqa: E501
|
|
258
|
+
all_params.append('async_req')
|
|
259
|
+
all_params.append('_return_http_data_only')
|
|
260
|
+
all_params.append('_preload_content')
|
|
261
|
+
all_params.append('_request_timeout')
|
|
262
|
+
|
|
263
|
+
params = locals()
|
|
264
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
265
|
+
if key not in all_params:
|
|
266
|
+
raise TypeError(
|
|
267
|
+
"Got an unexpected keyword argument '%s'"
|
|
268
|
+
" to method get_mounting_revision_content_with_missing" % key
|
|
269
|
+
)
|
|
270
|
+
params[key] = val
|
|
271
|
+
del params['kwargs']
|
|
272
|
+
# verify the required parameter 'revision_id' is set
|
|
273
|
+
if ('revision_id' not in params or
|
|
274
|
+
params['revision_id'] is None):
|
|
275
|
+
raise ValueError("Missing the required parameter `revision_id` when calling `get_mounting_revision_content_with_missing`") # noqa: E501
|
|
276
|
+
|
|
277
|
+
collection_formats = {}
|
|
278
|
+
|
|
279
|
+
path_params = {}
|
|
280
|
+
if 'revision_id' in params:
|
|
281
|
+
path_params['revisionId'] = params['revision_id'] # noqa: E501
|
|
282
|
+
|
|
283
|
+
query_params = []
|
|
284
|
+
|
|
285
|
+
header_params = {}
|
|
286
|
+
|
|
287
|
+
form_params = []
|
|
288
|
+
local_var_files = {}
|
|
289
|
+
|
|
290
|
+
body_params = None
|
|
291
|
+
# HTTP header `Accept`
|
|
292
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
293
|
+
['application/json', 'text/json']) # noqa: E501
|
|
294
|
+
|
|
295
|
+
# Authentication setting
|
|
296
|
+
auth_settings = [] # noqa: E501
|
|
297
|
+
|
|
298
|
+
return self.api_client.call_api(
|
|
299
|
+
'/teamdbapi/v2.0/mounting/{revisionId}/includemissings/content', 'GET',
|
|
300
|
+
path_params,
|
|
301
|
+
query_params,
|
|
302
|
+
header_params,
|
|
303
|
+
body=body_params,
|
|
304
|
+
post_params=form_params,
|
|
305
|
+
files=local_var_files,
|
|
306
|
+
response_type='list[Component]', # noqa: E501
|
|
307
|
+
auth_settings=auth_settings,
|
|
308
|
+
async_req=params.get('async_req'),
|
|
309
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
310
|
+
_preload_content=params.get('_preload_content', True),
|
|
311
|
+
_request_timeout=params.get('_request_timeout'),
|
|
312
|
+
collection_formats=collection_formats)
|
|
@@ -0,0 +1,118 @@
|
|
|
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
|
+
from __future__ import absolute_import
|
|
14
|
+
|
|
15
|
+
import re # noqa: F401
|
|
16
|
+
|
|
17
|
+
# python 2 and python 3 compatibility library
|
|
18
|
+
import six
|
|
19
|
+
|
|
20
|
+
from teamdbapi.api_client import ApiClient
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
class OverallApi(object):
|
|
24
|
+
"""NOTE: This class is auto generated by the swagger code generator program.
|
|
25
|
+
|
|
26
|
+
Do not edit the class manually.
|
|
27
|
+
Ref: https://github.com/swagger-api/swagger-codegen
|
|
28
|
+
"""
|
|
29
|
+
|
|
30
|
+
def __init__(self, api_client=None):
|
|
31
|
+
if api_client is None:
|
|
32
|
+
api_client = ApiClient()
|
|
33
|
+
self.api_client = api_client
|
|
34
|
+
|
|
35
|
+
def get_current_overall(self, **kwargs): # noqa: E501
|
|
36
|
+
"""Get the current Overall. # noqa: E501
|
|
37
|
+
|
|
38
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
39
|
+
asynchronous HTTP request, please pass async_req=True
|
|
40
|
+
>>> thread = api.get_current_overall(async_req=True)
|
|
41
|
+
>>> result = thread.get()
|
|
42
|
+
|
|
43
|
+
:param async_req bool
|
|
44
|
+
:return: Overall
|
|
45
|
+
If the method is called asynchronously,
|
|
46
|
+
returns the request thread.
|
|
47
|
+
"""
|
|
48
|
+
kwargs['_return_http_data_only'] = True
|
|
49
|
+
if kwargs.get('async_req'):
|
|
50
|
+
return self.get_current_overall_with_http_info(**kwargs) # noqa: E501
|
|
51
|
+
else:
|
|
52
|
+
(data) = self.get_current_overall_with_http_info(**kwargs) # noqa: E501
|
|
53
|
+
return data
|
|
54
|
+
|
|
55
|
+
def get_current_overall_with_http_info(self, **kwargs): # noqa: E501
|
|
56
|
+
"""Get the current Overall. # noqa: E501
|
|
57
|
+
|
|
58
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
59
|
+
asynchronous HTTP request, please pass async_req=True
|
|
60
|
+
>>> thread = api.get_current_overall_with_http_info(async_req=True)
|
|
61
|
+
>>> result = thread.get()
|
|
62
|
+
|
|
63
|
+
:param async_req bool
|
|
64
|
+
:return: Overall
|
|
65
|
+
If the method is called asynchronously,
|
|
66
|
+
returns the request thread.
|
|
67
|
+
"""
|
|
68
|
+
|
|
69
|
+
all_params = [] # noqa: E501
|
|
70
|
+
all_params.append('async_req')
|
|
71
|
+
all_params.append('_return_http_data_only')
|
|
72
|
+
all_params.append('_preload_content')
|
|
73
|
+
all_params.append('_request_timeout')
|
|
74
|
+
|
|
75
|
+
params = locals()
|
|
76
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
77
|
+
if key not in all_params:
|
|
78
|
+
raise TypeError(
|
|
79
|
+
"Got an unexpected keyword argument '%s'"
|
|
80
|
+
" to method get_current_overall" % key
|
|
81
|
+
)
|
|
82
|
+
params[key] = val
|
|
83
|
+
del params['kwargs']
|
|
84
|
+
|
|
85
|
+
collection_formats = {}
|
|
86
|
+
|
|
87
|
+
path_params = {}
|
|
88
|
+
|
|
89
|
+
query_params = []
|
|
90
|
+
|
|
91
|
+
header_params = {}
|
|
92
|
+
|
|
93
|
+
form_params = []
|
|
94
|
+
local_var_files = {}
|
|
95
|
+
|
|
96
|
+
body_params = None
|
|
97
|
+
# HTTP header `Accept`
|
|
98
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
99
|
+
['application/json', 'text/json']) # noqa: E501
|
|
100
|
+
|
|
101
|
+
# Authentication setting
|
|
102
|
+
auth_settings = [] # noqa: E501
|
|
103
|
+
|
|
104
|
+
return self.api_client.call_api(
|
|
105
|
+
'/teamdbapi/v2.0/overall/current', 'GET',
|
|
106
|
+
path_params,
|
|
107
|
+
query_params,
|
|
108
|
+
header_params,
|
|
109
|
+
body=body_params,
|
|
110
|
+
post_params=form_params,
|
|
111
|
+
files=local_var_files,
|
|
112
|
+
response_type='Overall', # noqa: E501
|
|
113
|
+
auth_settings=auth_settings,
|
|
114
|
+
async_req=params.get('async_req'),
|
|
115
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
116
|
+
_preload_content=params.get('_preload_content', True),
|
|
117
|
+
_request_timeout=params.get('_request_timeout'),
|
|
118
|
+
collection_formats=collection_formats)
|