teamdbapi 2.37.1__py3-none-any.whl → 3.0.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- teamdbapi/__init__.py +11 -0
- teamdbapi/api/__init__.py +39 -34
- teamdbapi/api/assembly_api.py +2108 -2108
- teamdbapi/api/car_api.py +874 -874
- teamdbapi/api/component_api.py +954 -0
- teamdbapi/api/config_api.py +118 -118
- teamdbapi/api/criteria_api.py +126 -0
- teamdbapi/api/edit_api.py +433 -433
- teamdbapi/api/event_api.py +878 -878
- teamdbapi/api/fixed_field_api.py +320 -320
- teamdbapi/api/group_api.py +609 -609
- teamdbapi/api/import_export_api.py +828 -743
- teamdbapi/api/lap_api.py +708 -708
- teamdbapi/api/lap_report_api.py +490 -486
- teamdbapi/api/model_field_api.py +708 -708
- teamdbapi/api/mounting_api.py +219 -0
- teamdbapi/api/notes_authorization_api.py +324 -324
- teamdbapi/api/parameter_api.py +1176 -1176
- teamdbapi/api/part_api.py +304 -0
- teamdbapi/api/report_api.py +142 -142
- teamdbapi/api/revision_api.py +1420 -1420
- teamdbapi/api/revision_editor_selector_api.py +990 -990
- teamdbapi/api/run_api.py +603 -603
- teamdbapi/api/script_api.py +490 -490
- teamdbapi/api/session_api.py +720 -720
- teamdbapi/api/target_api.py +415 -415
- teamdbapi/api/team_db_list_api.py +987 -987
- teamdbapi/api/team_db_view_api.py +482 -482
- teamdbapi/api/tire_api.py +599 -599
- teamdbapi/api/tire_set_api.py +514 -514
- teamdbapi/api/track_api.py +506 -506
- teamdbapi/api/track_layout_api.py +514 -514
- teamdbapi/api/update_request_api.py +235 -0
- teamdbapi/api/user_api.py +474 -474
- teamdbapi/api/value_field_api.py +558 -558
- teamdbapi/api/version_api.py +449 -449
- teamdbapi/api_client.py +4 -8
- teamdbapi/configuration.py +6 -13
- teamdbapi/models/__init__.py +6 -0
- teamdbapi/models/assembly.py +1 -0
- teamdbapi/models/bleed_adjustment.py +1 -0
- teamdbapi/models/calibration.py +1 -0
- teamdbapi/models/car.py +1 -0
- teamdbapi/models/car_parameters_context.py +1 -0
- teamdbapi/models/compare_options.py +1 -0
- teamdbapi/models/compare_result.py +1 -0
- teamdbapi/models/compare_result_detail.py +2 -0
- teamdbapi/models/component.py +1217 -0
- teamdbapi/models/copy_from_tags_args.py +2 -0
- teamdbapi/models/couple_guid_text.py +1 -0
- teamdbapi/models/criteria.py +430 -0
- teamdbapi/models/criteria_value.py +197 -0
- teamdbapi/models/event.py +1 -0
- teamdbapi/models/fixed_field.py +2 -1
- teamdbapi/models/group.py +1 -0
- teamdbapi/models/import_parameters_args.py +1 -0
- teamdbapi/models/import_parameters_results.py +2 -0
- teamdbapi/models/item_value.py +1 -0
- teamdbapi/models/item_value_key.py +1 -0
- teamdbapi/models/lap.py +1 -0
- teamdbapi/models/lap_report_options.py +1 -0
- teamdbapi/models/model_field.py +3 -1
- teamdbapi/models/model_field_authorization.py +1 -0
- teamdbapi/models/mounting.py +489 -0
- teamdbapi/models/notes_authorization.py +1 -0
- teamdbapi/models/notes_context.py +1 -0
- teamdbapi/models/parameter.py +2 -0
- teamdbapi/models/parameter_cross_table.py +1 -0
- teamdbapi/models/part.py +963 -0
- teamdbapi/models/part_count.py +228 -0
- teamdbapi/models/problem_details.py +2 -6
- teamdbapi/models/revision.py +88 -3
- teamdbapi/models/revision_value.py +1 -0
- teamdbapi/models/run.py +1 -0
- teamdbapi/models/script.py +1 -0
- teamdbapi/models/session.py +1 -0
- teamdbapi/models/string_with_font_style.py +1 -0
- teamdbapi/models/target.py +64 -7
- teamdbapi/models/team_db_list.py +1 -0
- teamdbapi/models/team_db_list_item.py +1 -0
- teamdbapi/models/tire.py +2 -0
- teamdbapi/models/tire_set.py +2 -0
- teamdbapi/models/track.py +1 -0
- teamdbapi/models/track_layout.py +1 -0
- teamdbapi/models/user.py +1 -0
- teamdbapi/models/user_group.py +1 -0
- teamdbapi/models/value_field.py +1 -0
- teamdbapi/models/version.py +1 -0
- teamdbapi/rest.py +6 -1
- {teamdbapi-2.37.1.dist-info → teamdbapi-3.0.0.dist-info}/METADATA +5 -5
- teamdbapi-3.0.0.dist-info/RECORD +93 -0
- teamdbapi-2.37.1.dist-info/RECORD +0 -82
- {teamdbapi-2.37.1.dist-info → teamdbapi-3.0.0.dist-info}/LICENSE +0 -0
- {teamdbapi-2.37.1.dist-info → teamdbapi-3.0.0.dist-info}/WHEEL +0 -0
teamdbapi/api/config_api.py
CHANGED
|
@@ -1,118 +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 ConfigApi(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_server_uri(self, **kwargs): # noqa: E501
|
|
36
|
-
"""Get the current server URI to which the teamdb client is connected # 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_server_uri(async_req=True)
|
|
41
|
-
>>> result = thread.get()
|
|
42
|
-
|
|
43
|
-
:param async_req bool
|
|
44
|
-
:return: str
|
|
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_server_uri_with_http_info(**kwargs) # noqa: E501
|
|
51
|
-
else:
|
|
52
|
-
(data) = self.get_server_uri_with_http_info(**kwargs) # noqa: E501
|
|
53
|
-
return data
|
|
54
|
-
|
|
55
|
-
def get_server_uri_with_http_info(self, **kwargs): # noqa: E501
|
|
56
|
-
"""Get the current server URI to which the teamdb client is connected # 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_server_uri_with_http_info(async_req=True)
|
|
61
|
-
>>> result = thread.get()
|
|
62
|
-
|
|
63
|
-
:param async_req bool
|
|
64
|
-
:return: str
|
|
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_server_uri" % 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/server/uri', '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='str', # 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)
|
|
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 ConfigApi(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_server_uri(self, **kwargs): # noqa: E501
|
|
36
|
+
"""Get the current server URI to which the teamdb client is connected # 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_server_uri(async_req=True)
|
|
41
|
+
>>> result = thread.get()
|
|
42
|
+
|
|
43
|
+
:param async_req bool
|
|
44
|
+
:return: str
|
|
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_server_uri_with_http_info(**kwargs) # noqa: E501
|
|
51
|
+
else:
|
|
52
|
+
(data) = self.get_server_uri_with_http_info(**kwargs) # noqa: E501
|
|
53
|
+
return data
|
|
54
|
+
|
|
55
|
+
def get_server_uri_with_http_info(self, **kwargs): # noqa: E501
|
|
56
|
+
"""Get the current server URI to which the teamdb client is connected # 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_server_uri_with_http_info(async_req=True)
|
|
61
|
+
>>> result = thread.get()
|
|
62
|
+
|
|
63
|
+
:param async_req bool
|
|
64
|
+
:return: str
|
|
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_server_uri" % 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/server/uri', '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='str', # 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)
|
|
@@ -0,0 +1,126 @@
|
|
|
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 CriteriaApi(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_criteria(self, criteria_id, **kwargs): # noqa: E501
|
|
36
|
+
"""Get a criteria from it's unique identifier. # 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_criteria(criteria_id, async_req=True)
|
|
41
|
+
>>> result = thread.get()
|
|
42
|
+
|
|
43
|
+
:param async_req bool
|
|
44
|
+
:param str criteria_id: The unique identifier of the criteria to retrieve. (required)
|
|
45
|
+
:return: Criteria
|
|
46
|
+
If the method is called asynchronously,
|
|
47
|
+
returns the request thread.
|
|
48
|
+
"""
|
|
49
|
+
kwargs['_return_http_data_only'] = True
|
|
50
|
+
if kwargs.get('async_req'):
|
|
51
|
+
return self.get_criteria_with_http_info(criteria_id, **kwargs) # noqa: E501
|
|
52
|
+
else:
|
|
53
|
+
(data) = self.get_criteria_with_http_info(criteria_id, **kwargs) # noqa: E501
|
|
54
|
+
return data
|
|
55
|
+
|
|
56
|
+
def get_criteria_with_http_info(self, criteria_id, **kwargs): # noqa: E501
|
|
57
|
+
"""Get a criteria from it's unique identifier. # noqa: E501
|
|
58
|
+
|
|
59
|
+
This method makes a synchronous HTTP request by default. To make an
|
|
60
|
+
asynchronous HTTP request, please pass async_req=True
|
|
61
|
+
>>> thread = api.get_criteria_with_http_info(criteria_id, async_req=True)
|
|
62
|
+
>>> result = thread.get()
|
|
63
|
+
|
|
64
|
+
:param async_req bool
|
|
65
|
+
:param str criteria_id: The unique identifier of the criteria to retrieve. (required)
|
|
66
|
+
:return: Criteria
|
|
67
|
+
If the method is called asynchronously,
|
|
68
|
+
returns the request thread.
|
|
69
|
+
"""
|
|
70
|
+
|
|
71
|
+
all_params = ['criteria_id'] # noqa: E501
|
|
72
|
+
all_params.append('async_req')
|
|
73
|
+
all_params.append('_return_http_data_only')
|
|
74
|
+
all_params.append('_preload_content')
|
|
75
|
+
all_params.append('_request_timeout')
|
|
76
|
+
|
|
77
|
+
params = locals()
|
|
78
|
+
for key, val in six.iteritems(params['kwargs']):
|
|
79
|
+
if key not in all_params:
|
|
80
|
+
raise TypeError(
|
|
81
|
+
"Got an unexpected keyword argument '%s'"
|
|
82
|
+
" to method get_criteria" % key
|
|
83
|
+
)
|
|
84
|
+
params[key] = val
|
|
85
|
+
del params['kwargs']
|
|
86
|
+
# verify the required parameter 'criteria_id' is set
|
|
87
|
+
if ('criteria_id' not in params or
|
|
88
|
+
params['criteria_id'] is None):
|
|
89
|
+
raise ValueError("Missing the required parameter `criteria_id` when calling `get_criteria`") # noqa: E501
|
|
90
|
+
|
|
91
|
+
collection_formats = {}
|
|
92
|
+
|
|
93
|
+
path_params = {}
|
|
94
|
+
if 'criteria_id' in params:
|
|
95
|
+
path_params['criteriaId'] = params['criteria_id'] # noqa: E501
|
|
96
|
+
|
|
97
|
+
query_params = []
|
|
98
|
+
|
|
99
|
+
header_params = {}
|
|
100
|
+
|
|
101
|
+
form_params = []
|
|
102
|
+
local_var_files = {}
|
|
103
|
+
|
|
104
|
+
body_params = None
|
|
105
|
+
# HTTP header `Accept`
|
|
106
|
+
header_params['Accept'] = self.api_client.select_header_accept(
|
|
107
|
+
['application/json', 'text/json']) # noqa: E501
|
|
108
|
+
|
|
109
|
+
# Authentication setting
|
|
110
|
+
auth_settings = [] # noqa: E501
|
|
111
|
+
|
|
112
|
+
return self.api_client.call_api(
|
|
113
|
+
'/teamdbapi/v2.0/criteria/{criteriaId}', 'GET',
|
|
114
|
+
path_params,
|
|
115
|
+
query_params,
|
|
116
|
+
header_params,
|
|
117
|
+
body=body_params,
|
|
118
|
+
post_params=form_params,
|
|
119
|
+
files=local_var_files,
|
|
120
|
+
response_type='Criteria', # noqa: E501
|
|
121
|
+
auth_settings=auth_settings,
|
|
122
|
+
async_req=params.get('async_req'),
|
|
123
|
+
_return_http_data_only=params.get('_return_http_data_only'),
|
|
124
|
+
_preload_content=params.get('_preload_content', True),
|
|
125
|
+
_request_timeout=params.get('_request_timeout'),
|
|
126
|
+
collection_formats=collection_formats)
|