Commit 3bddae6
docs(logs): clarify attribute value types for Python logs
Log attribute values must be primitives (string/number/boolean) to be
stored. Same-typed scalar lists are sent as arrays that aren't currently
retained (they appear empty in the Logs UI), while mixed lists and dicts
are stored as their string representation. Document this and recommend
serializing complex values (e.g. json.dumps) before logging.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>1 parent 07e394b commit 3bddae6
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
0 commit comments