Commit da8facb
committed
feat: provide a field serializer in
This serializer allows serialization
of model instances containing field
values that are of types from the
anys pacakge,
https://pypi.org/project/anys/. This
is needed for tests that uses the
anys types, such as the ones in dandi-cli.
This solution was initially proposed
at dandi/dandi-cli#1716 (comment)DandiBaseModel to handle types in anys
1 parent fa9b7f6 commit da8facb
1 file changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
| 29 | + | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| |||
508 | 510 | | |
509 | 511 | | |
510 | 512 | | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
511 | 526 | | |
512 | 527 | | |
513 | 528 | | |
| |||
0 commit comments