Commit 6b3f04f
committed
test: Add numeric string roundtrip test and fix mypy type error
- Add test case for numeric strings (e.g., zip codes, numeric IDs) in metadata edge cases
- Fix mypy type error in _convert_value_to_proto for null_value assignment
- Use proper struct_pb2.NullValue.NULL_VALUE instead of integer 0
- Ensure numeric strings remain as strings after roundtrip conversion1 parent 33318f5 commit 6b3f04f
2 files changed
+3
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
342 | 342 | | |
343 | 343 | | |
344 | 344 | | |
| 345 | + | |
345 | 346 | | |
346 | 347 | | |
347 | 348 | | |
| |||
358 | 359 | | |
359 | 360 | | |
360 | 361 | | |
| 362 | + | |
0 commit comments