Skip to content

Commit 1050a13

Browse files
committed
πŸ› Ensure GridMetrics are sent with msgpack
1 parent 1add445 commit 1050a13

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

β€ŽCHANGELOG.mdβ€Ž

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Change Log
22

3+
## Unreleased
4+
5+
- Ensures `GridMetrics` are sent via `msgpack` the same as `Metrics`.
6+
37
## [v2.2.2](https://github.com/simvue-io/client/releases/tag/v2.2.2) - 2025-10-14
48

59
- Enforced use of UTC for all datetime recording.

β€Žsimvue/api/objects/grids.pyβ€Ž

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,6 +258,9 @@ def __init__(
258258
self._run_id = self._staging.get("run")
259259
self._is_set = True
260260

261+
def _post_single(self, **kwargs) -> dict[str, typing.Any]:
262+
return super()._post_single(is_json=False, **kwargs)
263+
261264
@staticmethod
262265
def run_grids_endpoint(run: str | None = None) -> URL:
263266
"""Returns the URL for grids for a specific run."""

0 commit comments

Comments
Β (0)