vaapi 0.7.45__tar.gz → 0.7.46__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.45 → vaapi-0.7.46}/PKG-INFO +1 -1
  2. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/__init__.py +1 -1
  3. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/behavior_frame_option/client.py +2 -2
  4. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/behavior_options/client.py +2 -2
  5. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/behavior_options_state/client.py +2 -2
  6. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/cognition_frame/client.py +2 -2
  7. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/cognition_representation/client.py +2 -4
  8. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/events/client.py +5 -16
  9. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/game/client.py +2 -2
  10. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/image/client.py +3 -3
  11. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/motion_frame/client.py +2 -2
  12. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/motion_representation/client.py +2 -2
  13. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/xabsl_symbol_complete/client.py +2 -2
  14. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/xabsl_symbol_sparse/client.py +2 -2
  15. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi.egg-info/PKG-INFO +1 -1
  16. {vaapi-0.7.45 → vaapi-0.7.46}/README.md +0 -0
  17. {vaapi-0.7.45 → vaapi-0.7.46}/pyproject.toml +0 -0
  18. {vaapi-0.7.45 → vaapi-0.7.46}/setup.cfg +0 -0
  19. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/base_client.py +0 -0
  20. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/behavior_frame_option/__init__.py +0 -0
  21. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/behavior_options/__init__.py +0 -0
  22. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/behavior_options_state/__init__.py +0 -0
  23. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/client.py +0 -0
  24. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/cognition_frame/__init__.py +0 -0
  25. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/cognition_representation/__init__.py +0 -0
  26. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/core/api_error.py +0 -0
  27. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/core/client_wrapper.py +0 -0
  28. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/core/datetime_utils.py +0 -0
  29. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/core/file.py +0 -0
  30. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/core/http_client.py +0 -0
  31. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/core/jsonable_encoder.py +0 -0
  32. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/core/pagination.py +0 -0
  33. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/core/pydantic_utilities.py +0 -0
  34. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/core/query_encoder.py +0 -0
  35. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/core/remove_none_from_dict.py +0 -0
  36. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/core/request_options.py +0 -0
  37. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/events/__init__.py +0 -0
  38. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/experiment/__init__.py +0 -0
  39. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/experiment/client.py +0 -0
  40. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/game/__init__.py +0 -0
  41. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/image/__init__.py +0 -0
  42. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/log_status/__init__.py +0 -0
  43. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/log_status/client.py +0 -0
  44. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/logs/__init__.py +0 -0
  45. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/logs/client.py +0 -0
  46. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/motion_frame/__init__.py +0 -0
  47. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/motion_representation/__init__.py +0 -0
  48. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/robots/__init__.py +0 -0
  49. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/robots/client.py +0 -0
  50. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/teams/__init__.py +0 -0
  51. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/teams/client.py +0 -0
  52. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/timeline/__init__.py +0 -0
  53. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/timeline/client.py +0 -0
  54. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/types/annotation.py +0 -0
  55. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/types/behavior_option.py +0 -0
  56. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/types/behavior_option_state.py +0 -0
  57. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/types/behaviorframe_options.py +0 -0
  58. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/types/cognition_frame.py +0 -0
  59. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/types/cognition_representation.py +0 -0
  60. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/types/event.py +0 -0
  61. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/types/experiment.py +0 -0
  62. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/types/frame_filter.py +0 -0
  63. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/types/game.py +0 -0
  64. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/types/image.py +0 -0
  65. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/types/log.py +0 -0
  66. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/types/log_status.py +0 -0
  67. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/types/motion_frame.py +0 -0
  68. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/types/motion_representation.py +0 -0
  69. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/types/robots.py +0 -0
  70. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/types/teams.py +0 -0
  71. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/types/timeline.py +0 -0
  72. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/types/video.py +0 -0
  73. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/types/xabsl_symbol_complete.py +0 -0
  74. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/types/xabsl_symbol_sparse.py +0 -0
  75. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/videos/__init__.py +0 -0
  76. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/videos/client.py +0 -0
  77. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/xabsl_symbol_complete/__init__.py +0 -0
  78. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi/xabsl_symbol_sparse/__init__.py +0 -0
  79. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi.egg-info/SOURCES.txt +0 -0
  80. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi.egg-info/dependency_links.txt +0 -0
  81. {vaapi-0.7.45 → vaapi-0.7.46}/vaapi.egg-info/requires.txt +0 -0
  82. {vaapi-0.7.45 → vaapi-0.7.46}/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.45
3
+ Version: 0.7.46
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.45"
5
+ __version__ = "0.7.46"
@@ -265,7 +265,7 @@ class BehaviorFrameOptionClient:
265
265
  *,
266
266
  data_list: typing.List[BehaviorFrameOption] = OMIT,
267
267
  request_options: typing.Optional[RequestOptions] = None,
268
- ) -> BehaviorFrameOption:
268
+ ) -> None:
269
269
  """
270
270
  from vaapi.client import Vaapi
271
271
 
@@ -283,7 +283,7 @@ class BehaviorFrameOptionClient:
283
283
  )
284
284
  try:
285
285
  if 200 <= _response.status_code < 300:
286
- return pydantic_v1.parse_obj_as(BehaviorFrameOption, _response.json()) # type: ignore
286
+ return
287
287
  _response_json = _response.json()
288
288
  except JSONDecodeError:
289
289
  raise ApiError(status_code=_response.status_code, body=_response.text)
@@ -145,7 +145,7 @@ class BehaviorOptionClient:
145
145
  *,
146
146
  repr_list: typing.List[BehaviorOptions] = OMIT,
147
147
  request_options: typing.Optional[RequestOptions] = None,
148
- ) -> BehaviorOptions:
148
+ ) -> None:
149
149
  """
150
150
  Examples
151
151
  --------
@@ -165,7 +165,7 @@ class BehaviorOptionClient:
165
165
  )
166
166
  try:
167
167
  if 200 <= _response.status_code < 300:
168
- return pydantic_v1.parse_obj_as(BehaviorOptions, _response.json()) # type: ignore
168
+ return
169
169
  _response_json = _response.json()
170
170
  except JSONDecodeError:
171
171
  raise ApiError(status_code=_response.status_code, body=_response.text)
@@ -292,7 +292,7 @@ class BehaviorOptionStateClient:
292
292
  *,
293
293
  repr_list: typing.List[BehaviorOptionState] = OMIT,
294
294
  request_options: typing.Optional[RequestOptions] = None,
295
- ) -> BehaviorOptionState:
295
+ ) -> None:
296
296
  """
297
297
  Examples
298
298
  --------
@@ -312,7 +312,7 @@ class BehaviorOptionStateClient:
312
312
  )
313
313
  try:
314
314
  if 200 <= _response.status_code < 300:
315
- return pydantic_v1.parse_obj_as(BehaviorOptionState, _response.json()) # type: ignore
315
+ return
316
316
  _response_json = _response.json()
317
317
  except JSONDecodeError:
318
318
  raise ApiError(status_code=_response.status_code, body=_response.text)
@@ -212,7 +212,7 @@ class CognitionFrameClient:
212
212
  *,
213
213
  frame_list: typing.List[CognitionFrame] = OMIT,
214
214
  request_options: typing.Optional[RequestOptions] = None,
215
- ) -> CognitionFrame:
215
+ ) -> None:
216
216
  """
217
217
  Examples
218
218
  --------
@@ -235,7 +235,7 @@ class CognitionFrameClient:
235
235
  )
236
236
  try:
237
237
  if 200 <= _response.status_code < 300:
238
- return pydantic_v1.parse_obj_as(CognitionFrame, _response.json()) # type: ignore
238
+ return
239
239
  _response_json = _response.json()
240
240
  except JSONDecodeError:
241
241
  raise ApiError(status_code=_response.status_code, body=_response.text)
@@ -208,7 +208,7 @@ class CognitionRepresentationClient:
208
208
  *,
209
209
  repr_list: typing.List[CognitionRepresentation] = OMIT,
210
210
  request_options: typing.Optional[RequestOptions] = None,
211
- ) -> CognitionRepresentation:
211
+ ) -> None:
212
212
  """
213
213
  Examples
214
214
  --------
@@ -228,9 +228,7 @@ class CognitionRepresentationClient:
228
228
  )
229
229
  try:
230
230
  if 200 <= _response.status_code < 300:
231
- return pydantic_v1.parse_obj_as(
232
- CognitionRepresentation, _response.json()
233
- ) # type: ignore
231
+ return
234
232
  _response_json = _response.json()
235
233
  except JSONDecodeError:
236
234
  raise ApiError(status_code=_response.status_code, body=_response.text)
@@ -29,6 +29,9 @@ class EventsClient:
29
29
  base_url='https://vat.berlin-united.com/',
30
30
  api_key="YOUR_API_KEY",
31
31
  )
32
+ my_event = client.events.get(
33
+ id=1,
34
+ )
32
35
  """
33
36
  _response = self._client_wrapper.httpx_client.request(
34
37
  f"api/events/{jsonable_encoder(id)}/",
@@ -48,20 +51,6 @@ class EventsClient:
48
51
  self, id: int, *, request_options: typing.Optional[RequestOptions] = None
49
52
  ) -> None:
50
53
  """
51
- You will need to supply the events's unique ID. You can find the ID in
52
- the django admin panel or in the events settings in the UI.
53
- Parameters
54
- ----------
55
- id : int
56
- A unique integer value identifying this annotation.
57
-
58
- request_options : typing.Optional[RequestOptions]
59
- Request-specific configuration.
60
-
61
- Returns
62
- -------
63
- None
64
-
65
54
  Examples
66
55
  --------
67
56
  from vaapi.client import Vaapi
@@ -219,7 +208,7 @@ class EventsClient:
219
208
  *,
220
209
  data_list: typing.List[Event] = OMIT,
221
210
  request_options: typing.Optional[RequestOptions] = None,
222
- ) -> Event:
211
+ ) -> None:
223
212
  """
224
213
  Examples
225
214
  --------
@@ -243,7 +232,7 @@ class EventsClient:
243
232
  )
244
233
  try:
245
234
  if 200 <= _response.status_code < 300:
246
- return pydantic_v1.parse_obj_as(Event, _response.json()) # type: ignore
235
+ return
247
236
  _response_json = _response.json()
248
237
  except JSONDecodeError:
249
238
  raise ApiError(status_code=_response.status_code, body=_response.text)
@@ -221,7 +221,7 @@ class GameClient:
221
221
  *,
222
222
  data_list: typing.List[Game] = OMIT,
223
223
  request_options: typing.Optional[RequestOptions] = None,
224
- ) -> Game:
224
+ ) -> None:
225
225
  """
226
226
  Examples
227
227
  --------
@@ -241,7 +241,7 @@ class GameClient:
241
241
  )
242
242
  try:
243
243
  if 200 <= _response.status_code < 300:
244
- return pydantic_v1.parse_obj_as(Game, _response.json()) # type: ignore
244
+ return
245
245
  _response_json = _response.json()
246
246
  except JSONDecodeError:
247
247
  raise ApiError(status_code=_response.status_code, body=_response.text)
@@ -149,7 +149,7 @@ class ImageClient:
149
149
  payload = OMIT
150
150
 
151
151
  _response = self._client_wrapper.httpx_client.request(
152
- "api/images",
152
+ "api/images/bulk-update",
153
153
  method="PATCH",
154
154
  json=payload,
155
155
  request_options=request_options,
@@ -265,7 +265,7 @@ class ImageClient:
265
265
  *,
266
266
  data_list: typing.List[Image] = OMIT,
267
267
  request_options: typing.Optional[RequestOptions] = None,
268
- ) -> Image:
268
+ ) -> None:
269
269
  """
270
270
  Examples
271
271
  --------
@@ -285,7 +285,7 @@ class ImageClient:
285
285
  )
286
286
  try:
287
287
  if 200 <= _response.status_code < 300:
288
- return _response.json()
288
+ return
289
289
  _response_json = _response.json()
290
290
  except JSONDecodeError:
291
291
  raise ApiError(status_code=_response.status_code, body=_response.text)
@@ -203,7 +203,7 @@ class MotionFrameClient:
203
203
  *,
204
204
  frame_list: typing.List[MotionFrame] = OMIT,
205
205
  request_options: typing.Optional[RequestOptions] = None,
206
- ) -> MotionFrame:
206
+ ) -> None:
207
207
  """
208
208
  Examples
209
209
  --------
@@ -223,7 +223,7 @@ class MotionFrameClient:
223
223
  )
224
224
  try:
225
225
  if 200 <= _response.status_code < 300:
226
- return pydantic_v1.parse_obj_as(MotionFrame, _response.json()) # type: ignore
226
+ return
227
227
  _response_json = _response.json()
228
228
  except JSONDecodeError:
229
229
  raise ApiError(status_code=_response.status_code, body=_response.text)
@@ -202,7 +202,7 @@ class MotionRepresentationClient:
202
202
  *,
203
203
  repr_list: typing.List[MotionRepresentation] = OMIT,
204
204
  request_options: typing.Optional[RequestOptions] = None,
205
- ) -> MotionRepresentation:
205
+ ) -> None:
206
206
  """
207
207
  Examples
208
208
  --------
@@ -222,7 +222,7 @@ class MotionRepresentationClient:
222
222
  )
223
223
  try:
224
224
  if 200 <= _response.status_code < 300:
225
- return pydantic_v1.parse_obj_as(MotionRepresentation, _response.json()) # type: ignore
225
+ return
226
226
  _response_json = _response.json()
227
227
  except JSONDecodeError:
228
228
  raise ApiError(status_code=_response.status_code, body=_response.text)
@@ -185,7 +185,7 @@ class XabslSymbolClientComplete:
185
185
  *,
186
186
  data_list: typing.List[XabslSymbolComplete] = OMIT,
187
187
  request_options: typing.Optional[RequestOptions] = None,
188
- ) -> XabslSymbolComplete:
188
+ ) -> None:
189
189
  """
190
190
  Examples
191
191
  --------
@@ -205,7 +205,7 @@ class XabslSymbolClientComplete:
205
205
  )
206
206
  try:
207
207
  if 200 <= _response.status_code < 300:
208
- return pydantic_v1.parse_obj_as(XabslSymbolComplete, _response.json()) # type: ignore
208
+ return
209
209
  _response_json = _response.json()
210
210
  except JSONDecodeError:
211
211
  raise ApiError(status_code=_response.status_code, body=_response.text)
@@ -342,7 +342,7 @@ class XabslSymbolClientSparse:
342
342
  *,
343
343
  data: typing.List[XabslSymbolSparse] = OMIT,
344
344
  request_options: typing.Optional[RequestOptions] = None,
345
- ) -> XabslSymbolSparse:
345
+ ) -> None:
346
346
  """
347
347
  Parameters
348
348
  ----------
@@ -379,7 +379,7 @@ class XabslSymbolClientSparse:
379
379
  )
380
380
  try:
381
381
  if 200 <= _response.status_code < 300:
382
- return pydantic_v1.parse_obj_as(XabslSymbolSparse, _response.json()) # type: ignore
382
+ return
383
383
  _response_json = _response.json()
384
384
  except JSONDecodeError:
385
385
  raise ApiError(status_code=_response.status_code, body=_response.text)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: vaapi
3
- Version: 0.7.45
3
+ Version: 0.7.46
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