vaapi 0.7.26__tar.gz → 0.7.28__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.
- {vaapi-0.7.26/vaapi.egg-info → vaapi-0.7.28}/PKG-INFO +1 -1
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/__init__.py +1 -1
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/base_client.py +2 -2
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/events/client.py +7 -2
- {vaapi-0.7.26/vaapi/video → vaapi-0.7.28/vaapi/videos}/client.py +6 -6
- {vaapi-0.7.26 → vaapi-0.7.28/vaapi.egg-info}/PKG-INFO +1 -1
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi.egg-info/SOURCES.txt +2 -2
- {vaapi-0.7.26 → vaapi-0.7.28}/.github/workflows/deploy_sdk.yml +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/.gitignore +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/README.md +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/examples/README.md +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/examples/annotation_demo.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/examples/ballcanditates.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/examples/basics.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/examples/behavior_demo.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/examples/broken_demos/annotation_example.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/examples/broken_demos/find_kicks_near_goal.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/examples/broken_demos/frame_filter_example.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/examples/broken_demos/frame_times.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/examples/broken_demos/heatmap.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/examples/bulk_image_update.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/examples/file_upload.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/examples/filter_behavior_demo.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/examples/fix_images.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/examples/get_annotations.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/examples/get_frame_per_video_timestamp.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/examples/get_game_model_data.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/examples/get_image.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/examples/get_log_model_data.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/examples/get_teams.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/examples/get_video_model_data.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/examples/image_demo.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/examples/image_pagination.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/examples/imu_demo.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/examples/mmap_local_demo.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/examples/num_kicks_demo.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/examples/num_kicks_demo_interactive.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/examples/requirements.txt +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/examples/robot.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/examples/slice.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/examples/team_demo.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/package_pypi.sh +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/pyproject.toml +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/renovate.json +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/setup.cfg +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/tests/run_tests.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/tests/tests/cognition_repr_test.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/tests/tests/event_tests.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/tests/tests/game_tests.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/tests/tests/logs_tests.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/tests/tests/motion_repr_test.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/annotations/__init__.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/annotations/client.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/behavior_frame_option/__init__.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/behavior_frame_option/client.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/behavior_options/__init__.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/behavior_options/client.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/behavior_options_state/__init__.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/behavior_options_state/client.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/client.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/cognition_frame/__init__.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/cognition_frame/client.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/cognition_representation/__init__.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/cognition_representation/client.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/core/api_error.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/core/client_wrapper.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/core/datetime_utils.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/core/file.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/core/http_client.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/core/jsonable_encoder.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/core/pagination.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/core/pydantic_utilities.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/core/query_encoder.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/core/remove_none_from_dict.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/core/request_options.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/events/__init__.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/experiment/__init__.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/experiment/client.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/frame_filter/__init__.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/frame_filter/client.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/game/__init__.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/game/client.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/image/__init__.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/image/client.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/log_status/__init__.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/log_status/client.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/logs/__init__.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/logs/client.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/motion_frame/__init__.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/motion_frame/client.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/motion_representation/__init__.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/motion_representation/client.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/robots/__init__.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/robots/client.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/teams/__init__.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/teams/client.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/timeline/__init__.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/timeline/client.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/annotation.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/behavior_option.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/behavior_option_state.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/behaviorframe_options.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/cognition_frame.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/cognition_representation.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/event.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/experiment.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/frame_filter.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/game.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/image.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/log.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/log_status.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/motion_frame.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/motion_representation.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/robots.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/teams.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/timeline.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/video.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/xabsl_symbol_complete.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/types/xabsl_symbol_sparse.py +0 -0
- {vaapi-0.7.26/vaapi/video → vaapi-0.7.28/vaapi/videos}/__init__.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/xabsl_symbol_complete/__init__.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/xabsl_symbol_complete/client.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/xabsl_symbol_sparse/__init__.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi/xabsl_symbol_sparse/client.py +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi.egg-info/dependency_links.txt +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi.egg-info/requires.txt +0 -0
- {vaapi-0.7.26 → vaapi-0.7.28}/vaapi.egg-info/top_level.txt +0 -0
|
@@ -21,7 +21,7 @@ from .frame_filter.client import FrameFilterClient
|
|
|
21
21
|
from .experiment.client import ExperimentClient
|
|
22
22
|
from .motion_frame.client import MotionFrameClient
|
|
23
23
|
from .cognition_frame.client import CognitionFrameClient
|
|
24
|
-
from .
|
|
24
|
+
from .videos.client import VideoClient
|
|
25
25
|
from .teams.client import TeamClient
|
|
26
26
|
from .robots.client import RobotClient
|
|
27
27
|
from .timeline.client import TimelineClient
|
|
@@ -131,7 +131,7 @@ class VaapiBase:
|
|
|
131
131
|
self.logs = LogClient(client_wrapper=self._client_wrapper)
|
|
132
132
|
self.cognitionframe = CognitionFrameClient(client_wrapper=self._client_wrapper)
|
|
133
133
|
self.motionframe = MotionFrameClient(client_wrapper=self._client_wrapper)
|
|
134
|
-
self.
|
|
134
|
+
self.videos = VideoClient(client_wrapper=self._client_wrapper)
|
|
135
135
|
self.behavior_option = BehaviorOptionClient(client_wrapper=self._client_wrapper)
|
|
136
136
|
self.behavior_option_state = BehaviorOptionStateClient(
|
|
137
137
|
client_wrapper=self._client_wrapper
|
|
@@ -137,7 +137,8 @@ class EventsClient:
|
|
|
137
137
|
raise ApiError(status_code=_response.status_code, body=_response_json)
|
|
138
138
|
|
|
139
139
|
def list(
|
|
140
|
-
self, *, request_options: typing.Optional[RequestOptions] = None
|
|
140
|
+
self, *, request_options: typing.Optional[RequestOptions] = None,
|
|
141
|
+
**filters: typing.Any,
|
|
141
142
|
) -> typing.List[Event]:
|
|
142
143
|
"""
|
|
143
144
|
Examples
|
|
@@ -150,8 +151,12 @@ class EventsClient:
|
|
|
150
151
|
)
|
|
151
152
|
client.event.list()
|
|
152
153
|
"""
|
|
154
|
+
query_params = {k: v for k, v in filters.items() if v is not None}
|
|
153
155
|
_response = self._client_wrapper.httpx_client.request(
|
|
154
|
-
"api/events/",
|
|
156
|
+
"api/events/",
|
|
157
|
+
method="GET",
|
|
158
|
+
request_options=request_options,
|
|
159
|
+
params=query_params,
|
|
155
160
|
)
|
|
156
161
|
try:
|
|
157
162
|
if 200 <= _response.status_code < 300:
|
|
@@ -31,7 +31,7 @@ class VideoClient:
|
|
|
31
31
|
)
|
|
32
32
|
"""
|
|
33
33
|
_response = self._client_wrapper.httpx_client.request(
|
|
34
|
-
f"api/
|
|
34
|
+
f"api/videos/{jsonable_encoder(id)}/",
|
|
35
35
|
method="GET",
|
|
36
36
|
request_options=request_options,
|
|
37
37
|
)
|
|
@@ -58,7 +58,7 @@ class VideoClient:
|
|
|
58
58
|
)
|
|
59
59
|
"""
|
|
60
60
|
_response = self._client_wrapper.httpx_client.request(
|
|
61
|
-
f"api/
|
|
61
|
+
f"api/videos/{jsonable_encoder(id)}/",
|
|
62
62
|
method="DELETE",
|
|
63
63
|
request_options=request_options,
|
|
64
64
|
)
|
|
@@ -93,7 +93,7 @@ class VideoClient:
|
|
|
93
93
|
)
|
|
94
94
|
"""
|
|
95
95
|
_response = self._client_wrapper.httpx_client.request(
|
|
96
|
-
f"api/
|
|
96
|
+
f"api/videos/{jsonable_encoder(id)}/",
|
|
97
97
|
method="PATCH",
|
|
98
98
|
json={
|
|
99
99
|
"game": game,
|
|
@@ -134,7 +134,7 @@ class VideoClient:
|
|
|
134
134
|
query_params = {k: v for k, v in filters.items() if v is not None}
|
|
135
135
|
|
|
136
136
|
_response = self._client_wrapper.httpx_client.request(
|
|
137
|
-
"api/
|
|
137
|
+
"api/videos/",
|
|
138
138
|
method="GET",
|
|
139
139
|
request_options=request_options,
|
|
140
140
|
params=query_params,
|
|
@@ -169,7 +169,7 @@ class VideoClient:
|
|
|
169
169
|
)
|
|
170
170
|
"""
|
|
171
171
|
_response = self._client_wrapper.httpx_client.request(
|
|
172
|
-
"api/
|
|
172
|
+
"api/videos/",
|
|
173
173
|
method="POST",
|
|
174
174
|
json={
|
|
175
175
|
"game": game,
|
|
@@ -215,7 +215,7 @@ class VideoClient:
|
|
|
215
215
|
}
|
|
216
216
|
|
|
217
217
|
with self._client_wrapper.httpx_client.stream(
|
|
218
|
-
"api/
|
|
218
|
+
"api/videos/slice",
|
|
219
219
|
method="GET",
|
|
220
220
|
request_options=request_options,
|
|
221
221
|
params=query_params,
|
|
@@ -117,8 +117,8 @@ vaapi/types/timeline.py
|
|
|
117
117
|
vaapi/types/video.py
|
|
118
118
|
vaapi/types/xabsl_symbol_complete.py
|
|
119
119
|
vaapi/types/xabsl_symbol_sparse.py
|
|
120
|
-
vaapi/
|
|
121
|
-
vaapi/
|
|
120
|
+
vaapi/videos/__init__.py
|
|
121
|
+
vaapi/videos/client.py
|
|
122
122
|
vaapi/xabsl_symbol_complete/__init__.py
|
|
123
123
|
vaapi/xabsl_symbol_complete/client.py
|
|
124
124
|
vaapi/xabsl_symbol_sparse/__init__.py
|
|
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
|
|
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
|
|
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
|
|
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
|