Skip to content

fix: safe resp - #1745

Merged
SAKURA-CAT merged 7 commits into
mainfrom
fix/media-get
Aug 21, 2026
Merged

fix: safe resp#1745
SAKURA-CAT merged 7 commits into
mainfrom
fix/media-get

Conversation

@Nexisato

Copy link
Copy Markdown
Collaborator
  • avoid of null data type

@Nexisato Nexisato changed the title fix: safe get resp fix: safe resp Aug 21, 2026
@Nexisato Nexisato self-assigned this Aug 21, 2026
@Nexisato Nexisato added the 🐛 bug Something isn't working label Aug 21, 2026
Comment thread swanlab/api/__init__.py Outdated
Nexisato and others added 4 commits August 21, 2026 14:12
…rors

Per review feedback on #1745: rename the private _created_at_ts() helper
to a public created_at_ts property next to created_at, and wrap
parse_timestamp_s failures with the experiment path so missing/invalid
createdAt reports context instead of a bare timestamp error.
…-save

format_output now dumps the payload to indented JSON bytes a single time,
echoes the bytes directly, and returns them so api_command can hand the
same buffer to save_output; the payload dict is dropped after serialization,
so --save no longer adds a second full orjson pass or extra copies.
@SAKURA-CAT SAKURA-CAT added the backport release/v0.8 Merge 后自动 backport 此 PR 到 release/v0.8 label Aug 21, 2026
@SAKURA-CAT
SAKURA-CAT merged commit af3b54c into main Aug 21, 2026
21 checks passed
@SAKURA-CAT
SAKURA-CAT deleted the fix/media-get branch August 21, 2026 07:07
@github-actions

Copy link
Copy Markdown

Backport failed for release/v0.8, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin release/v0.8
git worktree add -d .worktree/backport/release/v0.8/pr-1745 origin/release/v0.8
cd .worktree/backport/release/v0.8/pr-1745
git switch --create backport/release/v0.8/pr-1745
git cherry-pick -x af3b54c6c00e5ae4e916cc21a53f5f84fce4e8f7

@SAKURA-CAT

Copy link
Copy Markdown
Member

Backport failed for release/v0.8, because it was unable to cherry-pick the commit(s).

Please cherry-pick the changes locally and resolve any conflicts.

git fetch origin release/v0.8
git worktree add -d .worktree/backport/release/v0.8/pr-1745 origin/release/v0.8
cd .worktree/backport/release/v0.8/pr-1745
git switch --create backport/release/v0.8/pr-1745
git cherry-pick -x af3b54c6c00e5ae4e916cc21a53f5f84fce4e8f7

没事,这次测试一下,v0.8其实也不再维护

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport release/v0.8 Merge 后自动 backport 此 PR 到 release/v0.8 🐛 bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants