teamdbapi 3.2.0__tar.gz → 3.4.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.2.0 → teamdbapi-3.4.0}/PKG-INFO +3 -3
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/README.md +2 -2
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/pyproject.toml +1 -1
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/__init__.py +4 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/__init__.py +2 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/assembly_api.py +4 -4
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/component_api.py +85 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/edit_api.py +89 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/import_export_api.py +12 -12
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/lap_report_api.py +2 -2
- teamdbapi-3.4.0/teamdbapi/api/overall_api.py +118 -0
- teamdbapi-3.4.0/teamdbapi/api/parameter_binding_api.py +508 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/report_api.py +2 -2
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/revision_api.py +2 -2
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/value_field_api.py +103 -2
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/__init__.py +2 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/car_parameters_context.py +31 -3
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/compare_options.py +2 -2
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/component.py +31 -3
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/criteria.py +2 -2
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/file_revision_info.py +2 -2
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/fixed_field.py +1 -1
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/import_parameters_args.py +2 -2
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/lap_report_options.py +2 -2
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/model_field.py +1 -1
- teamdbapi-3.4.0/teamdbapi/models/overall.py +198 -0
- teamdbapi-3.4.0/teamdbapi/models/parameter_binding.py +401 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/parameter_cross_table.py +4 -4
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/script.py +2 -2
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/target.py +35 -7
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/version.py +4 -4
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/LICENSE +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/car_api.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/config_api.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/criteria_api.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/event_api.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/fixed_field_api.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/group_api.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/issue_api.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/lap_api.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/model_field_api.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/mounting_api.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/notes_authorization_api.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/parameter_api.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/part_api.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/revision_editor_selector_api.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/run_api.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/script_api.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/session_api.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/target_api.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/team_db_list_api.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/team_db_view_api.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/tire_api.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/tire_set_api.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/track_api.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/track_layout_api.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/update_request_api.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/user_api.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api/version_api.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/api_client.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/configuration.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/add_part_car_parameter_arg.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/assembly.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/bleed_adjustment.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/calibration.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/car.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/compare_result.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/compare_result_detail.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/copy_from_tags_args.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/couple_guid_text.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/criteria_value.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/event.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/group.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/import_parameters_results.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/import_revisions_args.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/import_revisions_info.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/import_revisions_results.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/issue.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/issue_custom_field_value.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/issue_priority.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/issue_project.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/issue_sector.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/issue_status.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/issue_type.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/issue_workflow.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/item_value.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/item_value_key.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/lap.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/model_field_authorization.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/mounting.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/notes_authorization.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/notes_context.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/parameter.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/part.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/part_car_parameters.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/part_count.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/problem_details.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/revision.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/revision_value.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/run.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/session.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/string_with_font_style.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/team_db_list.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/team_db_list_item.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/tire.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/tire_set.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/track.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/track_layout.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/user.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/user_group.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/models/value_field.py +0 -0
- {teamdbapi-3.2.0 → teamdbapi-3.4.0}/teamdbapi/rest.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: teamdbapi
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.4.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>
|
|
@@ -19,13 +19,13 @@ Project-URL: Homepage, https://www.tracksidesoftware.fr/teamdb
|
|
|
19
19
|
# teamdbapi
|
|
20
20
|
This module enables you to easily access the TeamDB Web API.
|
|
21
21
|
|
|
22
|
-
- Package version: 3.
|
|
22
|
+
- Package version: 3.4.0
|
|
23
23
|
- TeamDB Web API version: 2.0
|
|
24
24
|
|
|
25
25
|
## Requirements.
|
|
26
26
|
|
|
27
27
|
- Python 3.4+
|
|
28
|
-
- TeamDB 3.
|
|
28
|
+
- TeamDB 3.4.0
|
|
29
29
|
|
|
30
30
|
## Installation and usage
|
|
31
31
|
### 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.4.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.4.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.4.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
|
|
@@ -94,7 +96,9 @@ from teamdbapi.models.model_field_authorization import ModelFieldAuthorization
|
|
|
94
96
|
from teamdbapi.models.mounting import Mounting
|
|
95
97
|
from teamdbapi.models.notes_authorization import NotesAuthorization
|
|
96
98
|
from teamdbapi.models.notes_context import NotesContext
|
|
99
|
+
from teamdbapi.models.overall import Overall
|
|
97
100
|
from teamdbapi.models.parameter import Parameter
|
|
101
|
+
from teamdbapi.models.parameter_binding import ParameterBinding
|
|
98
102
|
from teamdbapi.models.parameter_cross_table import ParameterCrossTable
|
|
99
103
|
from teamdbapi.models.part import Part
|
|
100
104
|
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
|
|
@@ -751,7 +751,7 @@ class AssemblyApi(object):
|
|
|
751
751
|
|
|
752
752
|
:param async_req bool
|
|
753
753
|
:param str assembly_id: The unique assembly id corresponding to the assembly to export. (required)
|
|
754
|
-
:param str output_file_path: The path to the file to create. You have to provide the file extension for example : MyFile.m (required)
|
|
754
|
+
:param str output_file_path: The path to the file to create. You have to provide the file extension for example : C:/path/MyFile.m (required)
|
|
755
755
|
:return: bool
|
|
756
756
|
If the method is called asynchronously,
|
|
757
757
|
returns the request thread.
|
|
@@ -773,7 +773,7 @@ class AssemblyApi(object):
|
|
|
773
773
|
|
|
774
774
|
:param async_req bool
|
|
775
775
|
:param str assembly_id: The unique assembly id corresponding to the assembly to export. (required)
|
|
776
|
-
:param str output_file_path: The path to the file to create. You have to provide the file extension for example : MyFile.m (required)
|
|
776
|
+
:param str output_file_path: The path to the file to create. You have to provide the file extension for example : C:/path/MyFile.m (required)
|
|
777
777
|
:return: bool
|
|
778
778
|
If the method is called asynchronously,
|
|
779
779
|
returns the request thread.
|
|
@@ -1319,7 +1319,7 @@ class AssemblyApi(object):
|
|
|
1319
1319
|
:param str version_id: The version id to which the new assembly will belong
|
|
1320
1320
|
:param str assembly_name: The assembly name to create
|
|
1321
1321
|
:param str revision_name: The default revision name used to create the new revisions
|
|
1322
|
-
:param str file_path: The file path containing the parameters
|
|
1322
|
+
:param str file_path: The file path containing the parameters. Example: C:/path/myFile.m
|
|
1323
1323
|
:return: Assembly
|
|
1324
1324
|
If the method is called asynchronously,
|
|
1325
1325
|
returns the request thread.
|
|
@@ -1343,7 +1343,7 @@ class AssemblyApi(object):
|
|
|
1343
1343
|
:param str version_id: The version id to which the new assembly will belong
|
|
1344
1344
|
:param str assembly_name: The assembly name to create
|
|
1345
1345
|
:param str revision_name: The default revision name used to create the new revisions
|
|
1346
|
-
:param str file_path: The file path containing the parameters
|
|
1346
|
+
:param str file_path: The file path containing the parameters. Example: C:/path/myFile.m
|
|
1347
1347
|
:return: Assembly
|
|
1348
1348
|
If the method is called asynchronously,
|
|
1349
1349
|
returns the request thread.
|
|
@@ -957,6 +957,91 @@ class ComponentApi(object):
|
|
|
957
957
|
_request_timeout=params.get('_request_timeout'),
|
|
958
958
|
collection_formats=collection_formats)
|
|
959
959
|
|
|
960
|
+
def trigger_lifing_export_components(self, **kwargs): # noqa: E501
|
|
961
|
+
"""[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
|
|
962
|
+
|
|
963
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
964
|
+
asynchronous HTTP request, please pass async_req=True
|
|
965
|
+
>>> thread = api.trigger_lifing_export_components(async_req=True)
|
|
966
|
+
>>> result = thread.get()
|
|
967
|
+
|
|
968
|
+
:param async_req bool
|
|
969
|
+
:return: None
|
|
970
|
+
If the method is called asynchronously,
|
|
971
|
+
returns the request thread.
|
|
972
|
+
"""
|
|
973
|
+
kwargs['_return_http_data_only'] = True
|
|
974
|
+
if kwargs.get('async_req'):
|
|
975
|
+
return self.trigger_lifing_export_components_with_http_info(**kwargs) # noqa: E501
|
|
976
|
+
else:
|
|
977
|
+
(data) = self.trigger_lifing_export_components_with_http_info(**kwargs) # noqa: E501
|
|
978
|
+
return data
|
|
979
|
+
|
|
980
|
+
def trigger_lifing_export_components_with_http_info(self, **kwargs): # noqa: E501
|
|
981
|
+
"""[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
|
|
982
|
+
|
|
983
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
984
|
+
asynchronous HTTP request, please pass async_req=True
|
|
985
|
+
>>> thread = api.trigger_lifing_export_components_with_http_info(async_req=True)
|
|
986
|
+
>>> result = thread.get()
|
|
987
|
+
|
|
988
|
+
:param async_req bool
|
|
989
|
+
:return: None
|
|
990
|
+
If the method is called asynchronously,
|
|
991
|
+
returns the request thread.
|
|
992
|
+
"""
|
|
993
|
+
|
|
994
|
+
all_params = [] # noqa: E501
|
|
995
|
+
all_params.append('async_req')
|
|
996
|
+
all_params.append('_return_http_data_only')
|
|
997
|
+
all_params.append('_preload_content')
|
|
998
|
+
all_params.append('_request_timeout')
|
|
999
|
+
|
|
1000
|
+
params = locals()
|
|
1001
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
1002
|
+
if key not in all_params:
|
|
1003
|
+
raise TypeError(
|
|
1004
|
+
"Got an unexpected keyword argument '%s'"
|
|
1005
|
+
" to method trigger_lifing_export_components" % key
|
|
1006
|
+
)
|
|
1007
|
+
params[key] = val
|
|
1008
|
+
del params['kwargs']
|
|
1009
|
+
|
|
1010
|
+
collection_formats = {}
|
|
1011
|
+
|
|
1012
|
+
path_params = {}
|
|
1013
|
+
|
|
1014
|
+
query_params = []
|
|
1015
|
+
|
|
1016
|
+
header_params = {}
|
|
1017
|
+
|
|
1018
|
+
form_params = []
|
|
1019
|
+
local_var_files = {}
|
|
1020
|
+
|
|
1021
|
+
body_params = None
|
|
1022
|
+
# HTTP header `Accept`
|
|
1023
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
1024
|
+
['application/json', 'text/json']) # noqa: E501
|
|
1025
|
+
|
|
1026
|
+
# Authentication setting
|
|
1027
|
+
auth_settings = [] # noqa: E501
|
|
1028
|
+
|
|
1029
|
+
return self.api_client.call_api(
|
|
1030
|
+
'/teamdbapi/v2.0/component/export', 'POST',
|
|
1031
|
+
path_params,
|
|
1032
|
+
query_params,
|
|
1033
|
+
header_params,
|
|
1034
|
+
body=body_params,
|
|
1035
|
+
post_params=form_params,
|
|
1036
|
+
files=local_var_files,
|
|
1037
|
+
response_type=None, # noqa: E501
|
|
1038
|
+
auth_settings=auth_settings,
|
|
1039
|
+
async_req=params.get('async_req'),
|
|
1040
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
1041
|
+
_preload_content=params.get('_preload_content', True),
|
|
1042
|
+
_request_timeout=params.get('_request_timeout'),
|
|
1043
|
+
collection_formats=collection_formats)
|
|
1044
|
+
|
|
960
1045
|
def update_component_revision(self, component_id, revision_id, **kwargs): # noqa: E501
|
|
961
1046
|
"""Update a component revision from it's unique identifiers. # noqa: E501
|
|
962
1047
|
|
|
@@ -137,6 +137,95 @@ class EditApi(object):
|
|
|
137
137
|
_request_timeout=params.get('_request_timeout'),
|
|
138
138
|
collection_formats=collection_formats)
|
|
139
139
|
|
|
140
|
+
def get_all_car_parameters_contexts(self, **kwargs): # noqa: E501
|
|
141
|
+
"""Get all car parameters contexts in all TeamDB client layouts, or the global context only if the Use Global Context option is active. # noqa: E501
|
|
142
|
+
|
|
143
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
144
|
+
asynchronous HTTP request, please pass async_req=True
|
|
145
|
+
>>> thread = api.get_all_car_parameters_contexts(async_req=True)
|
|
146
|
+
>>> result = thread.get()
|
|
147
|
+
|
|
148
|
+
:param async_req bool
|
|
149
|
+
:param bool include_hidden_layouts: True to include all layouts including hidden ones, False for only the visible ones
|
|
150
|
+
:return: list[CarParametersContext]
|
|
151
|
+
If the method is called asynchronously,
|
|
152
|
+
returns the request thread.
|
|
153
|
+
"""
|
|
154
|
+
kwargs['_return_http_data_only'] = True
|
|
155
|
+
if kwargs.get('async_req'):
|
|
156
|
+
return self.get_all_car_parameters_contexts_with_http_info(**kwargs) # noqa: E501
|
|
157
|
+
else:
|
|
158
|
+
(data) = self.get_all_car_parameters_contexts_with_http_info(**kwargs) # noqa: E501
|
|
159
|
+
return data
|
|
160
|
+
|
|
161
|
+
def get_all_car_parameters_contexts_with_http_info(self, **kwargs): # noqa: E501
|
|
162
|
+
"""Get all car parameters contexts in all TeamDB client layouts, or the global context only if the Use Global Context option is active. # noqa: E501
|
|
163
|
+
|
|
164
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
165
|
+
asynchronous HTTP request, please pass async_req=True
|
|
166
|
+
>>> thread = api.get_all_car_parameters_contexts_with_http_info(async_req=True)
|
|
167
|
+
>>> result = thread.get()
|
|
168
|
+
|
|
169
|
+
:param async_req bool
|
|
170
|
+
:param bool include_hidden_layouts: True to include all layouts including hidden ones, False for only the visible ones
|
|
171
|
+
:return: list[CarParametersContext]
|
|
172
|
+
If the method is called asynchronously,
|
|
173
|
+
returns the request thread.
|
|
174
|
+
"""
|
|
175
|
+
|
|
176
|
+
all_params = ['include_hidden_layouts'] # noqa: E501
|
|
177
|
+
all_params.append('async_req')
|
|
178
|
+
all_params.append('_return_http_data_only')
|
|
179
|
+
all_params.append('_preload_content')
|
|
180
|
+
all_params.append('_request_timeout')
|
|
181
|
+
|
|
182
|
+
params = locals()
|
|
183
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
184
|
+
if key not in all_params:
|
|
185
|
+
raise TypeError(
|
|
186
|
+
"Got an unexpected keyword argument '%s'"
|
|
187
|
+
" to method get_all_car_parameters_contexts" % key
|
|
188
|
+
)
|
|
189
|
+
params[key] = val
|
|
190
|
+
del params['kwargs']
|
|
191
|
+
|
|
192
|
+
collection_formats = {}
|
|
193
|
+
|
|
194
|
+
path_params = {}
|
|
195
|
+
|
|
196
|
+
query_params = []
|
|
197
|
+
if 'include_hidden_layouts' in params:
|
|
198
|
+
query_params.append(('includeHiddenLayouts', params['include_hidden_layouts'])) # noqa: E501
|
|
199
|
+
|
|
200
|
+
header_params = {}
|
|
201
|
+
|
|
202
|
+
form_params = []
|
|
203
|
+
local_var_files = {}
|
|
204
|
+
|
|
205
|
+
body_params = None
|
|
206
|
+
# HTTP header `Accept`
|
|
207
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
208
|
+
['application/json', 'text/json']) # noqa: E501
|
|
209
|
+
|
|
210
|
+
# Authentication setting
|
|
211
|
+
auth_settings = [] # noqa: E501
|
|
212
|
+
|
|
213
|
+
return self.api_client.call_api(
|
|
214
|
+
'/teamdbapi/v2.0/allCarParametersContext', 'GET',
|
|
215
|
+
path_params,
|
|
216
|
+
query_params,
|
|
217
|
+
header_params,
|
|
218
|
+
body=body_params,
|
|
219
|
+
post_params=form_params,
|
|
220
|
+
files=local_var_files,
|
|
221
|
+
response_type='list[CarParametersContext]', # noqa: E501
|
|
222
|
+
auth_settings=auth_settings,
|
|
223
|
+
async_req=params.get('async_req'),
|
|
224
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
225
|
+
_preload_content=params.get('_preload_content', True),
|
|
226
|
+
_request_timeout=params.get('_request_timeout'),
|
|
227
|
+
collection_formats=collection_formats)
|
|
228
|
+
|
|
140
229
|
def get_current_car_parameters_selected_context(self, **kwargs): # noqa: E501
|
|
141
230
|
"""Get the current Car Parameters selected context in Parameters Editor view # noqa: E501
|
|
142
231
|
|
|
@@ -43,7 +43,7 @@ class ImportExportApi(object):
|
|
|
43
43
|
:param async_req bool
|
|
44
44
|
:param str xml_data_format: The XML file format (Wintax or TeamDB) (required)
|
|
45
45
|
:param str source_id: The Source ID string for which you want to export the data (required)
|
|
46
|
-
:param str output_file_path: The path to the file to create. You have to provide the file extension for example : C
|
|
46
|
+
:param str output_file_path: The path to the file to create. You have to provide the file extension for example : C:/path/MyFile.xml (required)
|
|
47
47
|
:return: None
|
|
48
48
|
If the method is called asynchronously,
|
|
49
49
|
returns the request thread.
|
|
@@ -66,7 +66,7 @@ class ImportExportApi(object):
|
|
|
66
66
|
:param async_req bool
|
|
67
67
|
:param str xml_data_format: The XML file format (Wintax or TeamDB) (required)
|
|
68
68
|
:param str source_id: The Source ID string for which you want to export the data (required)
|
|
69
|
-
:param str output_file_path: The path to the file to create. You have to provide the file extension for example : C
|
|
69
|
+
:param str output_file_path: The path to the file to create. You have to provide the file extension for example : C:/path/MyFile.xml (required)
|
|
70
70
|
:return: None
|
|
71
71
|
If the method is called asynchronously,
|
|
72
72
|
returns the request thread.
|
|
@@ -157,7 +157,7 @@ class ImportExportApi(object):
|
|
|
157
157
|
:param str lap_id: The lap ID from which perform the export or the empty id 00000000-0000-0000-0000-000000000000 (required)
|
|
158
158
|
:param str xml_data_format: The XML file format (Wintax or TeamDB) (required)
|
|
159
159
|
:param str source_id: The Source ID string for which you want to export the data (required)
|
|
160
|
-
:param str output_file_path: The path to the file to create. You have to provide the file extension for example : C
|
|
160
|
+
:param str output_file_path: The path to the file to create. You have to provide the file extension for example : C:/path/MyFile.xml (required)
|
|
161
161
|
:return: None
|
|
162
162
|
If the method is called asynchronously,
|
|
163
163
|
returns the request thread.
|
|
@@ -185,7 +185,7 @@ class ImportExportApi(object):
|
|
|
185
185
|
:param str lap_id: The lap ID from which perform the export or the empty id 00000000-0000-0000-0000-000000000000 (required)
|
|
186
186
|
:param str xml_data_format: The XML file format (Wintax or TeamDB) (required)
|
|
187
187
|
:param str source_id: The Source ID string for which you want to export the data (required)
|
|
188
|
-
:param str output_file_path: The path to the file to create. You have to provide the file extension for example : C
|
|
188
|
+
:param str output_file_path: The path to the file to create. You have to provide the file extension for example : C:/path/MyFile.xml (required)
|
|
189
189
|
:return: None
|
|
190
190
|
If the method is called asynchronously,
|
|
191
191
|
returns the request thread.
|
|
@@ -300,7 +300,7 @@ class ImportExportApi(object):
|
|
|
300
300
|
|
|
301
301
|
:param async_req bool
|
|
302
302
|
:param str source_path: The source path configured in the teamdb fields that you want to import (required)
|
|
303
|
-
:param str input_file_path: The Excel file path you want to import. For example : C
|
|
303
|
+
:param str input_file_path: The Excel file path you want to import. For example : C:/path/MyFile.xlsx (required)
|
|
304
304
|
:return: None
|
|
305
305
|
If the method is called asynchronously,
|
|
306
306
|
returns the request thread.
|
|
@@ -322,7 +322,7 @@ class ImportExportApi(object):
|
|
|
322
322
|
|
|
323
323
|
:param async_req bool
|
|
324
324
|
:param str source_path: The source path configured in the teamdb fields that you want to import (required)
|
|
325
|
-
:param str input_file_path: The Excel file path you want to import. For example : C
|
|
325
|
+
:param str input_file_path: The Excel file path you want to import. For example : C:/path/MyFile.xlsx (required)
|
|
326
326
|
:return: None
|
|
327
327
|
If the method is called asynchronously,
|
|
328
328
|
returns the request thread.
|
|
@@ -402,7 +402,7 @@ class ImportExportApi(object):
|
|
|
402
402
|
:param async_req bool
|
|
403
403
|
:param str source_path: The source path configured in the teamdb fields that you want to import (required)
|
|
404
404
|
:param str sheetname: The sheet name in the file (required)
|
|
405
|
-
:param str input_file_path: The Excel file path you want to import. For example : C
|
|
405
|
+
:param str input_file_path: The Excel file path you want to import. For example : C:/path/MyFile.xlsx (required)
|
|
406
406
|
:return: None
|
|
407
407
|
If the method is called asynchronously,
|
|
408
408
|
returns the request thread.
|
|
@@ -425,7 +425,7 @@ class ImportExportApi(object):
|
|
|
425
425
|
:param async_req bool
|
|
426
426
|
:param str source_path: The source path configured in the teamdb fields that you want to import (required)
|
|
427
427
|
:param str sheetname: The sheet name in the file (required)
|
|
428
|
-
:param str input_file_path: The Excel file path you want to import. For example : C
|
|
428
|
+
:param str input_file_path: The Excel file path you want to import. For example : C:/path/MyFile.xlsx (required)
|
|
429
429
|
:return: None
|
|
430
430
|
If the method is called asynchronously,
|
|
431
431
|
returns the request thread.
|
|
@@ -510,7 +510,7 @@ class ImportExportApi(object):
|
|
|
510
510
|
|
|
511
511
|
:param async_req bool
|
|
512
512
|
:param str source_id: The source ID configured in the teamdb fields that you want to import (required)
|
|
513
|
-
:param str input_file_path: The XML file path you want to import. For example : C
|
|
513
|
+
:param str input_file_path: The XML file path you want to import. For example : C:/path/MyFile.xml (required)
|
|
514
514
|
:return: None
|
|
515
515
|
If the method is called asynchronously,
|
|
516
516
|
returns the request thread.
|
|
@@ -532,7 +532,7 @@ class ImportExportApi(object):
|
|
|
532
532
|
|
|
533
533
|
:param async_req bool
|
|
534
534
|
:param str source_id: The source ID configured in the teamdb fields that you want to import (required)
|
|
535
|
-
:param str input_file_path: The XML file path you want to import. For example : C
|
|
535
|
+
:param str input_file_path: The XML file path you want to import. For example : C:/path/MyFile.xml (required)
|
|
536
536
|
:return: None
|
|
537
537
|
If the method is called asynchronously,
|
|
538
538
|
returns the request thread.
|
|
@@ -616,7 +616,7 @@ class ImportExportApi(object):
|
|
|
616
616
|
:param str run_id: The run ID to which perform the import or the empty id 00000000-0000-0000-0000-000000000000 (required)
|
|
617
617
|
:param str lap_id: The lap ID to which perform the import or the empty id 00000000-0000-0000-0000-000000000000 (required)
|
|
618
618
|
:param str source_id: The source ID configured in the teamdb fields that you want to import (required)
|
|
619
|
-
:param str input_file_path: The XML file path you want to import. For example : C
|
|
619
|
+
:param str input_file_path: The XML file path you want to import. For example : C:/path/MyFile.xml (required)
|
|
620
620
|
:return: None
|
|
621
621
|
If the method is called asynchronously,
|
|
622
622
|
returns the request thread.
|
|
@@ -643,7 +643,7 @@ class ImportExportApi(object):
|
|
|
643
643
|
:param str run_id: The run ID to which perform the import or the empty id 00000000-0000-0000-0000-000000000000 (required)
|
|
644
644
|
:param str lap_id: The lap ID to which perform the import or the empty id 00000000-0000-0000-0000-000000000000 (required)
|
|
645
645
|
:param str source_id: The source ID configured in the teamdb fields that you want to import (required)
|
|
646
|
-
:param str input_file_path: The XML file path you want to import. For example : C
|
|
646
|
+
:param str input_file_path: The XML file path you want to import. For example : C:/path/MyFile.xml (required)
|
|
647
647
|
:return: None
|
|
648
648
|
If the method is called asynchronously,
|
|
649
649
|
returns the request thread.
|
|
@@ -296,7 +296,7 @@ class LapReportApi(object):
|
|
|
296
296
|
>>> result = thread.get()
|
|
297
297
|
|
|
298
298
|
:param async_req bool
|
|
299
|
-
:param str file_path: The lap report path (required)
|
|
299
|
+
:param str file_path: The lap report path. Example: C:/path/myFile.csv (required)
|
|
300
300
|
:param str lap_report_file_format: The lap report file format: Wintax or Atlas (required)
|
|
301
301
|
:param str session_id: The identifier of the session in which the report is to be loaded; if there is none, the report is imported into the current session.
|
|
302
302
|
:return: None
|
|
@@ -319,7 +319,7 @@ class LapReportApi(object):
|
|
|
319
319
|
>>> result = thread.get()
|
|
320
320
|
|
|
321
321
|
:param async_req bool
|
|
322
|
-
:param str file_path: The lap report path (required)
|
|
322
|
+
:param str file_path: The lap report path. Example: C:/path/myFile.csv (required)
|
|
323
323
|
:param str lap_report_file_format: The lap report file format: Wintax or Atlas (required)
|
|
324
324
|
:param str session_id: The identifier of the session in which the report is to be loaded; if there is none, the report is imported into the current session.
|
|
325
325
|
:return: None
|
|
@@ -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)
|