Commit 1f8d6e8
committed
Fix _serialize_depends_on to handle bare dict depends_on
MATLAB's jsonencode converts single-element cell arrays to scalars,
so depends_on can arrive as a bare dict instead of a list. Normalize
it to a single-element list in both _serialize_depends_on and
doc_to_sql for defense in depth.
https://claude.ai/code/session_01UbcbwwRqiY8mCMRf2pEsWg1 parent cfbf786 commit 1f8d6e8
1 file changed
Lines changed: 7 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
| 92 | + | |
| 93 | + | |
92 | 94 | | |
93 | 95 | | |
94 | 96 | | |
| |||
153 | 155 | | |
154 | 156 | | |
155 | 157 | | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
156 | 163 | | |
157 | 164 | | |
158 | 165 | | |
| |||
0 commit comments