Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Buffer "constructor-kwargs" header
Part of `Buffer`'s serializers' work includes handling subclasses (like cuML's `Array`). However it doesn't handle any keyword arguments those subclass constructors may need. This changes that by adding an optional (by default trivial) "constructor-kwargs" header. Subclasses can then call their parents' serializer and pack this header with relevant content afterwards. This way during deserialization this content can be passed into the subclass' constructor.
- Loading branch information