Skip to content

Modern Serialization of Custom Datatypes #444

Description

@electronsandstuff

From #443, encoders/decoders are used to handle serialization of fields with datatypes like np.ndarray and torch.Tensor. This is not longer well supported in pydantic V2. I am guessing we could modernize by using @field_serializer for much of this or wrapping the array objects.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions