teamdbapi 3.10.1__tar.gz → 3.12.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.
Files changed (124) hide show
  1. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/LICENSE +1 -1
  2. teamdbapi-3.12.0/PKG-INFO +135 -0
  3. teamdbapi-3.12.0/README.md +115 -0
  4. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/pyproject.toml +1 -1
  5. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/assembly_api.py +27 -27
  6. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/car_api.py +9 -9
  7. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/component_api.py +12 -12
  8. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/config_api.py +1 -1
  9. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/criteria_api.py +6 -6
  10. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/edit_api.py +6 -6
  11. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/event_api.py +11 -11
  12. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/fixed_field_api.py +3 -3
  13. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/group_api.py +6 -6
  14. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/import_export_api.py +11 -11
  15. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/issue_api.py +103 -18
  16. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/lap_api.py +7 -7
  17. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/lap_report_api.py +5 -5
  18. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/model_field_api.py +11 -11
  19. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/mounting_api.py +3 -3
  20. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/notes_authorization_api.py +5 -5
  21. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/overall_api.py +1 -1
  22. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/parameter_api.py +15 -15
  23. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/parameter_binding_api.py +5 -5
  24. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/part_api.py +9 -9
  25. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/report_api.py +3 -3
  26. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/revision_api.py +20 -20
  27. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/revision_editor_selector_api.py +9 -9
  28. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/run_api.py +6 -6
  29. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/script_api.py +5 -5
  30. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/session_api.py +7 -7
  31. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/target_api.py +4 -4
  32. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/team_db_list_api.py +10 -10
  33. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/team_db_view_api.py +5 -5
  34. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/tire_api.py +6 -6
  35. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/tire_set_api.py +5 -5
  36. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/track_api.py +5 -5
  37. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/track_layout_api.py +5 -5
  38. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/update_request_api.py +2 -2
  39. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/user_api.py +5 -5
  40. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/value_field_api.py +6 -6
  41. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/version_api.py +4 -4
  42. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/configuration.py +7 -0
  43. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/calibration.py +4 -4
  44. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/group.py +2 -2
  45. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/lap.py +2 -2
  46. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/lap_report_options.py +2 -2
  47. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/parameter.py +2 -2
  48. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/part.py +35 -7
  49. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/part_count.py +33 -5
  50. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/session.py +2 -2
  51. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/target.py +2 -2
  52. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/team_db_list_item.py +31 -3
  53. teamdbapi-3.10.1/PKG-INFO +0 -91
  54. teamdbapi-3.10.1/README.md +0 -71
  55. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/.gitignore +0 -0
  56. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/.swagger-codegen/VERSION +0 -0
  57. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/.swagger-codegen-ignore +0 -0
  58. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/.travis.yml +0 -0
  59. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/git_push.sh +0 -0
  60. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/requirements.txt +0 -0
  61. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/setup.py +0 -0
  62. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/__init__.py +0 -0
  63. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api/__init__.py +0 -0
  64. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/api_client.py +0 -0
  65. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/__init__.py +0 -0
  66. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/add_part_car_parameter_arg.py +0 -0
  67. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/assembly.py +0 -0
  68. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/bleed_adjustment.py +0 -0
  69. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/car.py +0 -0
  70. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/car_parameters_context.py +0 -0
  71. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/compare_options.py +0 -0
  72. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/compare_result.py +0 -0
  73. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/compare_result_detail.py +0 -0
  74. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/component.py +0 -0
  75. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/copy_from_tags_args.py +0 -0
  76. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/couple_guid_text.py +0 -0
  77. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/criteria.py +0 -0
  78. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/criteria_set.py +0 -0
  79. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/criteria_value.py +0 -0
  80. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/criteria_value_detail.py +0 -0
  81. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/event.py +0 -0
  82. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/file_revision_info.py +0 -0
  83. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/fixed_field.py +0 -0
  84. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/import_parameters_args.py +0 -0
  85. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/import_parameters_results.py +0 -0
  86. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/import_revisions_args.py +0 -0
  87. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/import_revisions_info.py +0 -0
  88. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/import_revisions_results.py +0 -0
  89. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/issue.py +0 -0
  90. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/issue_custom_field_value.py +0 -0
  91. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/issue_priority.py +0 -0
  92. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/issue_project.py +0 -0
  93. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/issue_sector.py +0 -0
  94. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/issue_status.py +0 -0
  95. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/issue_type.py +0 -0
  96. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/issue_workflow.py +0 -0
  97. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/item_value.py +0 -0
  98. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/item_value_key.py +0 -0
  99. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/model_field.py +0 -0
  100. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/model_field_authorization.py +0 -0
  101. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/mounting.py +0 -0
  102. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/notes_authorization.py +0 -0
  103. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/notes_context.py +0 -0
  104. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/overall.py +0 -0
  105. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/parameter_binding.py +0 -0
  106. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/parameter_cross_table.py +0 -0
  107. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/part_car_parameters.py +0 -0
  108. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/revision.py +0 -0
  109. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/revision_value.py +0 -0
  110. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/run.py +0 -0
  111. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/script.py +0 -0
  112. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/string_with_font_style.py +0 -0
  113. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/team_db_list.py +0 -0
  114. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/tire.py +0 -0
  115. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/tire_set.py +0 -0
  116. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/track.py +0 -0
  117. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/track_layout.py +0 -0
  118. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/user.py +0 -0
  119. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/user_group.py +0 -0
  120. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/value_field.py +0 -0
  121. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/models/version.py +0 -0
  122. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/teamdbapi/rest.py +0 -0
  123. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/test-requirements.txt +0 -0
  124. {teamdbapi-3.10.1 → teamdbapi-3.12.0}/tox.ini +0 -0
@@ -1,4 +1,4 @@
1
- Copyright © 2025 Trackside Software
1
+ Copyright © 2026 Trackside Software
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
4
 
@@ -0,0 +1,135 @@
1
+ Metadata-Version: 2.4
2
+ Name: teamdbapi
3
+ Version: 3.12.0
4
+ Summary: Easily access the TeamDB Web API.
5
+ Keywords: teamdbapi,Trackside,Trackside Software,TeamDB
6
+ Author-email: Trackside Software <support@trackside.fr>
7
+ Requires-Python: >=3.4
8
+ Description-Content-Type: text/markdown
9
+ Classifier: License :: OSI Approved :: MIT License
10
+ Classifier: Programming Language :: Python
11
+ Classifier: Programming Language :: Python :: 3
12
+ License-File: LICENSE
13
+ Requires-Dist: certifi >= 14.05.14
14
+ Requires-Dist: six >= 1.10
15
+ Requires-Dist: python_dateutil >= 2.5.3
16
+ Requires-Dist: setuptools >= 21.0.0
17
+ Requires-Dist: urllib3 >= 1.15.1
18
+ Project-URL: Home, https://www.tracksidesoftware.fr/teamdb
19
+
20
+ # teamdbapi
21
+ This module enables you to easily access the TeamDB Web API.
22
+
23
+ - Package version: 3.12.0
24
+ - TeamDB Web API version: 2.0
25
+
26
+ ## Requirements.
27
+
28
+ - Python 3.4+
29
+ - TeamDB 3.12.0
30
+
31
+ ## Installation and usage
32
+ ### pip install
33
+
34
+ Install via [pip](https://pypi.org/project/pip/).
35
+
36
+ ```sh
37
+ pip install teamdbapi
38
+ ```
39
+
40
+ Then import the package:
41
+ ```python
42
+ import teamdbapi
43
+ ```
44
+
45
+ ## Getting Started
46
+
47
+ Please follow the installation procedure above and then, depending your TeamDB WebApi configuration, try the following :
48
+
49
+ ### Using the HTTP protocole
50
+
51
+ ```python
52
+ import teamdbapi
53
+ from teamdbapi.rest import ApiException
54
+
55
+ # Create a Configuration object
56
+ configuration = teamdbapi.Configuration()
57
+ configuration.host = "http://localhost:9001" # Replace with your TeamDB API address if different
58
+
59
+ # Create an instance of the Client API
60
+ client_api = teamdbapi.ApiClient(configuration)
61
+
62
+ # Create an instance of the Assembly API using the client_api
63
+ assembly_api = teamdbapi.AssemblyApi(client_api)
64
+
65
+ # Try to execute the request
66
+ try:
67
+
68
+ # Retrieve and print the current assembly before modification
69
+ result = assembly_api.get_current_assembly()
70
+ print(result)
71
+
72
+ # Set the desired current assembly, and print the response details
73
+ result = assembly_api.select_current_assembly_with_http_info(assembly_id = "6189993b-ad4d-4c41-8268-8419a63e5554") # Replace with your own valid Assembly id.
74
+ print(result)
75
+
76
+ # Retrieve and print the current assembly after modification
77
+ result = assembly_api.get_current_assembly()
78
+ print(result)
79
+
80
+ except ApiException as e:
81
+ print("Exception when selecting the current assembly : %s\n" % e)
82
+ ```
83
+
84
+ ### Using the HTTPS protocole
85
+
86
+ ```python
87
+ import teamdbapi
88
+ from teamdbapi.rest import ApiException
89
+
90
+ # Create a Configuration object
91
+ configuration = teamdbapi.Configuration()
92
+ configuration.host = "https://localhost:9001" # Replace with your TeamDB API address if different
93
+ configuration.api_key['TDB_API_Key'] = 'user_token' # Replace {user_token} by a valid TeamDB WebApi user token.
94
+
95
+ # Create an instance of the Client API
96
+ client_api = teamdbapi.ApiClient(configuration)
97
+
98
+ # Create an instance of the Assembly API using the client_api
99
+ assembly_api = teamdbapi.AssemblyApi(client_api)
100
+
101
+ # Try to execute the request
102
+ try:
103
+
104
+ # Retrieve and print the current assembly before modification
105
+ result = assembly_api.get_current_assembly()
106
+ print(result)
107
+
108
+ # Set the desired current assembly, and print the response details
109
+ result = assembly_api.select_current_assembly_with_http_info(assembly_id = "6189993b-ad4d-4c41-8268-8419a63e5554") # Replace with your own valid Assembly id.
110
+ print(result)
111
+
112
+ # Retrieve and print the current assembly after modification
113
+ result = assembly_api.get_current_assembly()
114
+ print(result)
115
+
116
+ except ApiException as e:
117
+ print("Exception when selecting the current assembly : %s\n" % e)
118
+ ```
119
+
120
+ **_NOTE:_** Each method has a detailed version (for example: select_current_assembly => select_current_assembly_with_http_info). This can be useful, for example, if you want to retrieve a detailed response: content, HTTP status code, HTTP header.
121
+
122
+ ## Documentation for API Endpoints
123
+
124
+ With a TeamDB Client, check the documentation at *http://localhost:9001* (Default value for the TeamDB Web API URL)
125
+
126
+ ## Documentation For Authorization
127
+
128
+ Endpoints are subject to the same authorization as in TeamDB.
129
+
130
+ ## Author
131
+
132
+ Trackside Software
133
+ support@trackside.fr
134
+
135
+
@@ -0,0 +1,115 @@
1
+ # teamdbapi
2
+ This module enables you to easily access the TeamDB Web API.
3
+
4
+ - Package version: 3.12.0
5
+ - TeamDB Web API version: 2.0
6
+
7
+ ## Requirements.
8
+
9
+ - Python 3.4+
10
+ - TeamDB 3.12.0
11
+
12
+ ## Installation and usage
13
+ ### pip install
14
+
15
+ Install via [pip](https://pypi.org/project/pip/).
16
+
17
+ ```sh
18
+ pip install teamdbapi
19
+ ```
20
+
21
+ Then import the package:
22
+ ```python
23
+ import teamdbapi
24
+ ```
25
+
26
+ ## Getting Started
27
+
28
+ Please follow the installation procedure above and then, depending your TeamDB WebApi configuration, try the following :
29
+
30
+ ### Using the HTTP protocole
31
+
32
+ ```python
33
+ import teamdbapi
34
+ from teamdbapi.rest import ApiException
35
+
36
+ # Create a Configuration object
37
+ configuration = teamdbapi.Configuration()
38
+ configuration.host = "http://localhost:9001" # Replace with your TeamDB API address if different
39
+
40
+ # Create an instance of the Client API
41
+ client_api = teamdbapi.ApiClient(configuration)
42
+
43
+ # Create an instance of the Assembly API using the client_api
44
+ assembly_api = teamdbapi.AssemblyApi(client_api)
45
+
46
+ # Try to execute the request
47
+ try:
48
+
49
+ # Retrieve and print the current assembly before modification
50
+ result = assembly_api.get_current_assembly()
51
+ print(result)
52
+
53
+ # Set the desired current assembly, and print the response details
54
+ result = assembly_api.select_current_assembly_with_http_info(assembly_id = "6189993b-ad4d-4c41-8268-8419a63e5554") # Replace with your own valid Assembly id.
55
+ print(result)
56
+
57
+ # Retrieve and print the current assembly after modification
58
+ result = assembly_api.get_current_assembly()
59
+ print(result)
60
+
61
+ except ApiException as e:
62
+ print("Exception when selecting the current assembly : %s\n" % e)
63
+ ```
64
+
65
+ ### Using the HTTPS protocole
66
+
67
+ ```python
68
+ import teamdbapi
69
+ from teamdbapi.rest import ApiException
70
+
71
+ # Create a Configuration object
72
+ configuration = teamdbapi.Configuration()
73
+ configuration.host = "https://localhost:9001" # Replace with your TeamDB API address if different
74
+ configuration.api_key['TDB_API_Key'] = 'user_token' # Replace {user_token} by a valid TeamDB WebApi user token.
75
+
76
+ # Create an instance of the Client API
77
+ client_api = teamdbapi.ApiClient(configuration)
78
+
79
+ # Create an instance of the Assembly API using the client_api
80
+ assembly_api = teamdbapi.AssemblyApi(client_api)
81
+
82
+ # Try to execute the request
83
+ try:
84
+
85
+ # Retrieve and print the current assembly before modification
86
+ result = assembly_api.get_current_assembly()
87
+ print(result)
88
+
89
+ # Set the desired current assembly, and print the response details
90
+ result = assembly_api.select_current_assembly_with_http_info(assembly_id = "6189993b-ad4d-4c41-8268-8419a63e5554") # Replace with your own valid Assembly id.
91
+ print(result)
92
+
93
+ # Retrieve and print the current assembly after modification
94
+ result = assembly_api.get_current_assembly()
95
+ print(result)
96
+
97
+ except ApiException as e:
98
+ print("Exception when selecting the current assembly : %s\n" % e)
99
+ ```
100
+
101
+ **_NOTE:_** Each method has a detailed version (for example: select_current_assembly => select_current_assembly_with_http_info). This can be useful, for example, if you want to retrieve a detailed response: content, HTTP status code, HTTP header.
102
+
103
+ ## Documentation for API Endpoints
104
+
105
+ With a TeamDB Client, check the documentation at *http://localhost:9001* (Default value for the TeamDB Web API URL)
106
+
107
+ ## Documentation For Authorization
108
+
109
+ Endpoints are subject to the same authorization as in TeamDB.
110
+
111
+ ## Author
112
+
113
+ Trackside Software
114
+ support@trackside.fr
115
+
@@ -4,7 +4,7 @@ build-backend = "flit_core.buildapi"
4
4
 
5
5
  [project]
6
6
  name = "teamdbapi"
7
- version = "3.10.1"
7
+ version = "3.12.0"
8
8
  description = "Easily access the TeamDB Web API."
9
9
  authors = [{name = "Trackside Software", email = "support@trackside.fr"}]
10
10
  readme = "README.md"
@@ -120,7 +120,7 @@ class AssemblyApi(object):
120
120
  ['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
121
121
 
122
122
  # Authentication setting
123
- auth_settings = [] # noqa: E501
123
+ auth_settings = ['TdbApiKey'] # noqa: E501
124
124
 
125
125
  return self.api_client.call_api(
126
126
  '/teamdbapi/v2.0/assembly/{assemblyId}/addrevisions', 'POST',
@@ -225,7 +225,7 @@ class AssemblyApi(object):
225
225
  ['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
226
226
 
227
227
  # Authentication setting
228
- auth_settings = [] # noqa: E501
228
+ auth_settings = ['TdbApiKey'] # noqa: E501
229
229
 
230
230
  return self.api_client.call_api(
231
231
  '/teamdbapi/v2.0/assembly/{assemblyId}/addtag', 'POST',
@@ -318,7 +318,7 @@ class AssemblyApi(object):
318
318
  ['application/json', 'text/json']) # noqa: E501
319
319
 
320
320
  # Authentication setting
321
- auth_settings = [] # noqa: E501
321
+ auth_settings = ['TdbApiKey'] # noqa: E501
322
322
 
323
323
  return self.api_client.call_api(
324
324
  '/teamdbapi/v2.0/run/{runId}/assemblies', 'GET',
@@ -427,7 +427,7 @@ class AssemblyApi(object):
427
427
  ['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
428
428
 
429
429
  # Authentication setting
430
- auth_settings = [] # noqa: E501
430
+ auth_settings = ['TdbApiKey'] # noqa: E501
431
431
 
432
432
  return self.api_client.call_api(
433
433
  '/teamdbapi/v2.0/assembly/compare', 'POST',
@@ -446,7 +446,7 @@ class AssemblyApi(object):
446
446
  collection_formats=collection_formats)
447
447
 
448
448
  def create_assembly(self, assembly, **kwargs): # noqa: E501
449
- """Create an assembly. The revisions list content will be ignored. You have to call AddRevisionsToAssembly to add revisions to an assembly. # noqa: E501
449
+ """Create an assembly. The revisions list content will be ignored. You must call AddRevisionsToAssembly to add revisions to an assembly. # noqa: E501
450
450
 
451
451
  Set Assembly.Id empty (00000000-0000-0000-0000-000000000000) in order to create a new assembly. # noqa: E501
452
452
  This method makes a synchronous HTTP request by default. To make an
@@ -468,7 +468,7 @@ class AssemblyApi(object):
468
468
  return data
469
469
 
470
470
  def create_assembly_with_http_info(self, assembly, **kwargs): # noqa: E501
471
- """Create an assembly. The revisions list content will be ignored. You have to call AddRevisionsToAssembly to add revisions to an assembly. # noqa: E501
471
+ """Create an assembly. The revisions list content will be ignored. You must call AddRevisionsToAssembly to add revisions to an assembly. # noqa: E501
472
472
 
473
473
  Set Assembly.Id empty (00000000-0000-0000-0000-000000000000) in order to create a new assembly. # noqa: E501
474
474
  This method makes a synchronous HTTP request by default. To make an
@@ -526,7 +526,7 @@ class AssemblyApi(object):
526
526
  ['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
527
527
 
528
528
  # Authentication setting
529
- auth_settings = [] # noqa: E501
529
+ auth_settings = ['TdbApiKey'] # noqa: E501
530
530
 
531
531
  return self.api_client.call_api(
532
532
  '/teamdbapi/v2.0/assembly', 'POST',
@@ -619,7 +619,7 @@ class AssemblyApi(object):
619
619
  ['application/json', 'text/json']) # noqa: E501
620
620
 
621
621
  # Authentication setting
622
- auth_settings = [] # noqa: E501
622
+ auth_settings = ['TdbApiKey'] # noqa: E501
623
623
 
624
624
  return self.api_client.call_api(
625
625
  '/teamdbapi/v2.0/assembly/{assemblyId}', 'DELETE',
@@ -716,7 +716,7 @@ class AssemblyApi(object):
716
716
  ['application/json', 'text/json']) # noqa: E501
717
717
 
718
718
  # Authentication setting
719
- auth_settings = [] # noqa: E501
719
+ auth_settings = ['TdbApiKey'] # noqa: E501
720
720
 
721
721
  return self.api_client.call_api(
722
722
  '/teamdbapi/v2.0/assembly/{assemblyId}/duplicate', 'POST',
@@ -744,7 +744,7 @@ class AssemblyApi(object):
744
744
 
745
745
  :param async_req bool
746
746
  :param str assembly_id: The unique assembly id corresponding to the assembly to export. (required)
747
- :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)
747
+ :param str output_file_path: The path to the file to create. You must provide the file extension for example : C:/path/MyFile.m (required)
748
748
  :return: bool
749
749
  If the method is called asynchronously,
750
750
  returns the request thread.
@@ -766,7 +766,7 @@ class AssemblyApi(object):
766
766
 
767
767
  :param async_req bool
768
768
  :param str assembly_id: The unique assembly id corresponding to the assembly to export. (required)
769
- :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)
769
+ :param str output_file_path: The path to the file to create. You must provide the file extension for example : C:/path/MyFile.m (required)
770
770
  :return: bool
771
771
  If the method is called asynchronously,
772
772
  returns the request thread.
@@ -817,7 +817,7 @@ class AssemblyApi(object):
817
817
  ['application/json', 'text/json']) # noqa: E501
818
818
 
819
819
  # Authentication setting
820
- auth_settings = [] # noqa: E501
820
+ auth_settings = ['TdbApiKey'] # noqa: E501
821
821
 
822
822
  return self.api_client.call_api(
823
823
  '/teamdbapi/v2.0/assembly/{assemblyId}/export', 'POST',
@@ -910,7 +910,7 @@ class AssemblyApi(object):
910
910
  ['application/json', 'text/json']) # noqa: E501
911
911
 
912
912
  # Authentication setting
913
- auth_settings = [] # noqa: E501
913
+ auth_settings = ['TdbApiKey'] # noqa: E501
914
914
 
915
915
  return self.api_client.call_api(
916
916
  '/teamdbapi/v2.0/version/{versionId}/assemblies', 'GET',
@@ -1003,7 +1003,7 @@ class AssemblyApi(object):
1003
1003
  ['application/json', 'text/json']) # noqa: E501
1004
1004
 
1005
1005
  # Authentication setting
1006
- auth_settings = [] # noqa: E501
1006
+ auth_settings = ['TdbApiKey'] # noqa: E501
1007
1007
 
1008
1008
  return self.api_client.call_api(
1009
1009
  '/teamdbapi/v2.0/assembly/{assemblyId}', 'GET',
@@ -1088,7 +1088,7 @@ class AssemblyApi(object):
1088
1088
  ['application/json', 'text/json']) # noqa: E501
1089
1089
 
1090
1090
  # Authentication setting
1091
- auth_settings = [] # noqa: E501
1091
+ auth_settings = ['TdbApiKey'] # noqa: E501
1092
1092
 
1093
1093
  return self.api_client.call_api(
1094
1094
  '/teamdbapi/v2.0/assembly/current', 'GET',
@@ -1181,7 +1181,7 @@ class AssemblyApi(object):
1181
1181
  ['application/json', 'text/json']) # noqa: E501
1182
1182
 
1183
1183
  # Authentication setting
1184
- auth_settings = [] # noqa: E501
1184
+ auth_settings = ['TdbApiKey'] # noqa: E501
1185
1185
 
1186
1186
  return self.api_client.call_api(
1187
1187
  '/teamdbapi/v2.0/assembly/{assemblyId}/grouprevisions', 'GET',
@@ -1282,7 +1282,7 @@ class AssemblyApi(object):
1282
1282
  ['application/json', 'text/json']) # noqa: E501
1283
1283
 
1284
1284
  # Authentication setting
1285
- auth_settings = [] # noqa: E501
1285
+ auth_settings = ['TdbApiKey'] # noqa: E501
1286
1286
 
1287
1287
  return self.api_client.call_api(
1288
1288
  '/teamdbapi/v2.0/assembly/{assemblyId}/group/{groupId}/revisions', 'GET',
@@ -1383,7 +1383,7 @@ class AssemblyApi(object):
1383
1383
  ['application/json', 'text/json']) # noqa: E501
1384
1384
 
1385
1385
  # Authentication setting
1386
- auth_settings = [] # noqa: E501
1386
+ auth_settings = ['TdbApiKey'] # noqa: E501
1387
1387
 
1388
1388
  return self.api_client.call_api(
1389
1389
  '/teamdbapi/v2.0/assembly/import', 'POST',
@@ -1484,7 +1484,7 @@ class AssemblyApi(object):
1484
1484
  ['application/json', 'text/json']) # noqa: E501
1485
1485
 
1486
1486
  # Authentication setting
1487
- auth_settings = [] # noqa: E501
1487
+ auth_settings = ['TdbApiKey'] # noqa: E501
1488
1488
 
1489
1489
  return self.api_client.call_api(
1490
1490
  '/teamdbapi/v2.0/run/{runId}/linkassembly', 'POST',
@@ -1585,7 +1585,7 @@ class AssemblyApi(object):
1585
1585
  ['application/json', 'text/json']) # noqa: E501
1586
1586
 
1587
1587
  # Authentication setting
1588
- auth_settings = [] # noqa: E501
1588
+ auth_settings = ['TdbApiKey'] # noqa: E501
1589
1589
 
1590
1590
  return self.api_client.call_api(
1591
1591
  '/teamdbapi/v2.0/assembly/{assemblyId}/lock', 'POST',
@@ -1690,7 +1690,7 @@ class AssemblyApi(object):
1690
1690
  ['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
1691
1691
 
1692
1692
  # Authentication setting
1693
- auth_settings = [] # noqa: E501
1693
+ auth_settings = ['TdbApiKey'] # noqa: E501
1694
1694
 
1695
1695
  return self.api_client.call_api(
1696
1696
  '/teamdbapi/v2.0/assembly/{assemblyId}/removerevisions', 'POST',
@@ -1791,7 +1791,7 @@ class AssemblyApi(object):
1791
1791
  ['application/json', 'text/json']) # noqa: E501
1792
1792
 
1793
1793
  # Authentication setting
1794
- auth_settings = [] # noqa: E501
1794
+ auth_settings = ['TdbApiKey'] # noqa: E501
1795
1795
 
1796
1796
  return self.api_client.call_api(
1797
1797
  '/teamdbapi/v2.0/assembly/{assemblyId}/removetag', 'POST',
@@ -1884,7 +1884,7 @@ class AssemblyApi(object):
1884
1884
  ['application/json', 'text/json']) # noqa: E501
1885
1885
 
1886
1886
  # Authentication setting
1887
- auth_settings = [] # noqa: E501
1887
+ auth_settings = ['TdbApiKey'] # noqa: E501
1888
1888
 
1889
1889
  return self.api_client.call_api(
1890
1890
  '/teamdbapi/v2.0/assembly/current', 'POST',
@@ -1985,7 +1985,7 @@ class AssemblyApi(object):
1985
1985
  ['application/json', 'text/json']) # noqa: E501
1986
1986
 
1987
1987
  # Authentication setting
1988
- auth_settings = [] # noqa: E501
1988
+ auth_settings = ['TdbApiKey'] # noqa: E501
1989
1989
 
1990
1990
  return self.api_client.call_api(
1991
1991
  '/teamdbapi/v2.0/run/{runId}/unlinkassembly', 'POST',
@@ -2004,7 +2004,7 @@ class AssemblyApi(object):
2004
2004
  collection_formats=collection_formats)
2005
2005
 
2006
2006
  def update_assembly(self, assembly_id, assembly, **kwargs): # noqa: E501
2007
- """Update an assembly. The revisions list content will be ignored. You have to call AddRevisionsToAssembly to add revisions to an assembly. # noqa: E501
2007
+ """Update an assembly. The revisions list content will be ignored. You must call AddRevisionsToAssembly to add revisions to an assembly. # noqa: E501
2008
2008
 
2009
2009
  This method makes a synchronous HTTP request by default. To make an
2010
2010
  asynchronous HTTP request, please pass async_req=True
@@ -2026,7 +2026,7 @@ class AssemblyApi(object):
2026
2026
  return data
2027
2027
 
2028
2028
  def update_assembly_with_http_info(self, assembly_id, assembly, **kwargs): # noqa: E501
2029
- """Update an assembly. The revisions list content will be ignored. You have to call AddRevisionsToAssembly to add revisions to an assembly. # noqa: E501
2029
+ """Update an assembly. The revisions list content will be ignored. You must call AddRevisionsToAssembly to add revisions to an assembly. # noqa: E501
2030
2030
 
2031
2031
  This method makes a synchronous HTTP request by default. To make an
2032
2032
  asynchronous HTTP request, please pass async_req=True
@@ -2090,7 +2090,7 @@ class AssemblyApi(object):
2090
2090
  ['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
2091
2091
 
2092
2092
  # Authentication setting
2093
- auth_settings = [] # noqa: E501
2093
+ auth_settings = ['TdbApiKey'] # noqa: E501
2094
2094
 
2095
2095
  return self.api_client.call_api(
2096
2096
  '/teamdbapi/v2.0/assembly/{assemblyId}', 'PUT',
@@ -112,7 +112,7 @@ class CarApi(object):
112
112
  ['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
113
113
 
114
114
  # Authentication setting
115
- auth_settings = [] # noqa: E501
115
+ auth_settings = ['TdbApiKey'] # noqa: E501
116
116
 
117
117
  return self.api_client.call_api(
118
118
  '/teamdbapi/v2.0/car', 'POST',
@@ -209,7 +209,7 @@ class CarApi(object):
209
209
  ['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
210
210
 
211
211
  # Authentication setting
212
- auth_settings = [] # noqa: E501
212
+ auth_settings = ['TdbApiKey'] # noqa: E501
213
213
 
214
214
  return self.api_client.call_api(
215
215
  '/teamdbapi/v2.0/cartype', 'POST',
@@ -302,7 +302,7 @@ class CarApi(object):
302
302
  ['application/json', 'text/json']) # noqa: E501
303
303
 
304
304
  # Authentication setting
305
- auth_settings = [] # noqa: E501
305
+ auth_settings = ['TdbApiKey'] # noqa: E501
306
306
 
307
307
  return self.api_client.call_api(
308
308
  '/teamdbapi/v2.0/car/{carId}', 'DELETE',
@@ -395,7 +395,7 @@ class CarApi(object):
395
395
  ['application/json', 'text/json']) # noqa: E501
396
396
 
397
397
  # Authentication setting
398
- auth_settings = [] # noqa: E501
398
+ auth_settings = ['TdbApiKey'] # noqa: E501
399
399
 
400
400
  return self.api_client.call_api(
401
401
  '/teamdbapi/v2.0/cartype/{carTypeId}', 'DELETE',
@@ -488,7 +488,7 @@ class CarApi(object):
488
488
  ['application/json', 'text/json']) # noqa: E501
489
489
 
490
490
  # Authentication setting
491
- auth_settings = [] # noqa: E501
491
+ auth_settings = ['TdbApiKey'] # noqa: E501
492
492
 
493
493
  return self.api_client.call_api(
494
494
  '/teamdbapi/v2.0/car/{carId}', 'GET',
@@ -581,7 +581,7 @@ class CarApi(object):
581
581
  ['application/json', 'text/json']) # noqa: E501
582
582
 
583
583
  # Authentication setting
584
- auth_settings = [] # noqa: E501
584
+ auth_settings = ['TdbApiKey'] # noqa: E501
585
585
 
586
586
  return self.api_client.call_api(
587
587
  '/teamdbapi/v2.0/event/{eventId}/cars', 'GET',
@@ -666,7 +666,7 @@ class CarApi(object):
666
666
  ['application/json', 'text/json']) # noqa: E501
667
667
 
668
668
  # Authentication setting
669
- auth_settings = [] # noqa: E501
669
+ auth_settings = ['TdbApiKey'] # noqa: E501
670
670
 
671
671
  return self.api_client.call_api(
672
672
  '/teamdbapi/v2.0/cartypes', 'GET',
@@ -751,7 +751,7 @@ class CarApi(object):
751
751
  ['application/json', 'text/json']) # noqa: E501
752
752
 
753
753
  # Authentication setting
754
- auth_settings = [] # noqa: E501
754
+ auth_settings = ['TdbApiKey'] # noqa: E501
755
755
 
756
756
  return self.api_client.call_api(
757
757
  '/teamdbapi/v2.0/car/current', 'GET',
@@ -856,7 +856,7 @@ class CarApi(object):
856
856
  ['application/json-patch+json', 'application/json', 'text/json', 'application/*+json']) # noqa: E501
857
857
 
858
858
  # Authentication setting
859
- auth_settings = [] # noqa: E501
859
+ auth_settings = ['TdbApiKey'] # noqa: E501
860
860
 
861
861
  return self.api_client.call_api(
862
862
  '/teamdbapi/v2.0/car/{carId}', 'PUT',