vaapi 0.7.44__tar.gz → 0.7.45__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 (82) hide show
  1. {vaapi-0.7.44 → vaapi-0.7.45}/PKG-INFO +1 -1
  2. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/__init__.py +1 -1
  3. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/events/client.py +2 -2
  4. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/game/client.py +36 -5
  5. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi.egg-info/PKG-INFO +1 -1
  6. {vaapi-0.7.44 → vaapi-0.7.45}/README.md +0 -0
  7. {vaapi-0.7.44 → vaapi-0.7.45}/pyproject.toml +0 -0
  8. {vaapi-0.7.44 → vaapi-0.7.45}/setup.cfg +0 -0
  9. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/base_client.py +0 -0
  10. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/behavior_frame_option/__init__.py +0 -0
  11. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/behavior_frame_option/client.py +0 -0
  12. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/behavior_options/__init__.py +0 -0
  13. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/behavior_options/client.py +0 -0
  14. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/behavior_options_state/__init__.py +0 -0
  15. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/behavior_options_state/client.py +0 -0
  16. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/client.py +0 -0
  17. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/cognition_frame/__init__.py +0 -0
  18. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/cognition_frame/client.py +0 -0
  19. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/cognition_representation/__init__.py +0 -0
  20. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/cognition_representation/client.py +0 -0
  21. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/core/api_error.py +0 -0
  22. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/core/client_wrapper.py +0 -0
  23. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/core/datetime_utils.py +0 -0
  24. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/core/file.py +0 -0
  25. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/core/http_client.py +0 -0
  26. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/core/jsonable_encoder.py +0 -0
  27. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/core/pagination.py +0 -0
  28. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/core/pydantic_utilities.py +0 -0
  29. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/core/query_encoder.py +0 -0
  30. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/core/remove_none_from_dict.py +0 -0
  31. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/core/request_options.py +0 -0
  32. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/events/__init__.py +0 -0
  33. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/experiment/__init__.py +0 -0
  34. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/experiment/client.py +0 -0
  35. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/game/__init__.py +0 -0
  36. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/image/__init__.py +0 -0
  37. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/image/client.py +0 -0
  38. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/log_status/__init__.py +0 -0
  39. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/log_status/client.py +0 -0
  40. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/logs/__init__.py +0 -0
  41. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/logs/client.py +0 -0
  42. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/motion_frame/__init__.py +0 -0
  43. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/motion_frame/client.py +0 -0
  44. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/motion_representation/__init__.py +0 -0
  45. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/motion_representation/client.py +0 -0
  46. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/robots/__init__.py +0 -0
  47. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/robots/client.py +0 -0
  48. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/teams/__init__.py +0 -0
  49. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/teams/client.py +0 -0
  50. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/timeline/__init__.py +0 -0
  51. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/timeline/client.py +0 -0
  52. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/types/annotation.py +0 -0
  53. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/types/behavior_option.py +0 -0
  54. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/types/behavior_option_state.py +0 -0
  55. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/types/behaviorframe_options.py +0 -0
  56. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/types/cognition_frame.py +0 -0
  57. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/types/cognition_representation.py +0 -0
  58. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/types/event.py +0 -0
  59. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/types/experiment.py +0 -0
  60. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/types/frame_filter.py +0 -0
  61. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/types/game.py +0 -0
  62. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/types/image.py +0 -0
  63. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/types/log.py +0 -0
  64. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/types/log_status.py +0 -0
  65. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/types/motion_frame.py +0 -0
  66. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/types/motion_representation.py +0 -0
  67. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/types/robots.py +0 -0
  68. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/types/teams.py +0 -0
  69. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/types/timeline.py +0 -0
  70. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/types/video.py +0 -0
  71. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/types/xabsl_symbol_complete.py +0 -0
  72. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/types/xabsl_symbol_sparse.py +0 -0
  73. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/videos/__init__.py +0 -0
  74. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/videos/client.py +0 -0
  75. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/xabsl_symbol_complete/__init__.py +0 -0
  76. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/xabsl_symbol_complete/client.py +0 -0
  77. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/xabsl_symbol_sparse/__init__.py +0 -0
  78. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi/xabsl_symbol_sparse/client.py +0 -0
  79. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi.egg-info/SOURCES.txt +0 -0
  80. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi.egg-info/dependency_links.txt +0 -0
  81. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi.egg-info/requires.txt +0 -0
  82. {vaapi-0.7.44 → vaapi-0.7.45}/vaapi.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vaapi
3
- Version: 0.7.44
3
+ Version: 0.7.45
4
4
  Summary: Python utils for adding logs to our Visual Analytics Tool
5
5
  Author-email: NaoTH Berlin United <nao-team@informatik.hu-berlin.de>
6
6
  License-Expression: Apache-2.0
@@ -2,4 +2,4 @@
2
2
  you can perform with the API of the visual analytics tool by Berlin United for the Robocup SPL
3
3
  """
4
4
 
5
- __version__ = "0.7.44"
5
+ __version__ = "0.7.45"
@@ -217,7 +217,7 @@ class EventsClient:
217
217
  def bulk_create(
218
218
  self,
219
219
  *,
220
- event_list: typing.List[Event] = OMIT,
220
+ data_list: typing.List[Event] = OMIT,
221
221
  request_options: typing.Optional[RequestOptions] = None,
222
222
  ) -> Event:
223
223
  """
@@ -237,7 +237,7 @@ class EventsClient:
237
237
  _response = self._client_wrapper.httpx_client.request(
238
238
  "api/events/",
239
239
  method="POST",
240
- json=event_list,
240
+ json=data_list,
241
241
  request_options=request_options,
242
242
  omit=OMIT,
243
243
  )
@@ -1,13 +1,13 @@
1
- import typing
2
- import datetime as dt
3
- from json.decoder import JSONDecodeError
4
-
5
- from ..core.api_error import ApiError
6
1
  from ..core.client_wrapper import SyncClientWrapper
7
2
  from ..core.jsonable_encoder import jsonable_encoder
8
3
  from ..core.pydantic_utilities import pydantic_v1
9
4
  from ..core.request_options import RequestOptions
5
+ from json.decoder import JSONDecodeError
6
+ from ..core.api_error import ApiError
10
7
  from ..types.game import Game
8
+ import datetime as dt
9
+ import typing
10
+
11
11
 
12
12
  # this is used as the default value for optional parameters
13
13
  OMIT = typing.cast(typing.Any, ...)
@@ -215,3 +215,34 @@ class GameClient:
215
215
  except JSONDecodeError:
216
216
  raise ApiError(status_code=_response.status_code, body=_response.text)
217
217
  raise ApiError(status_code=_response.status_code, body=_response_json)
218
+
219
+ def bulk_create(
220
+ self,
221
+ *,
222
+ data_list: typing.List[Game] = OMIT,
223
+ request_options: typing.Optional[RequestOptions] = None,
224
+ ) -> Game:
225
+ """
226
+ Examples
227
+ --------
228
+ from vaapi.client import Vaapi
229
+
230
+ client = Vaapi(
231
+ base_url='https://vat.berlin-united.com/',
232
+ api_key="YOUR_API_KEY",
233
+ )
234
+ """
235
+ _response = self._client_wrapper.httpx_client.request(
236
+ "api/games/",
237
+ method="POST",
238
+ json=data_list,
239
+ request_options=request_options,
240
+ omit=OMIT,
241
+ )
242
+ try:
243
+ if 200 <= _response.status_code < 300:
244
+ return pydantic_v1.parse_obj_as(Game, _response.json()) # type: ignore
245
+ _response_json = _response.json()
246
+ except JSONDecodeError:
247
+ raise ApiError(status_code=_response.status_code, body=_response.text)
248
+ raise ApiError(status_code=_response.status_code, body=_response_json)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vaapi
3
- Version: 0.7.44
3
+ Version: 0.7.45
4
4
  Summary: Python utils for adding logs to our Visual Analytics Tool
5
5
  Author-email: NaoTH Berlin United <nao-team@informatik.hu-berlin.de>
6
6
  License-Expression: Apache-2.0
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes