You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#599 added support for dumping and loading from streams in the C code. We want to add this functionality to the Python api also. This can largely follow the example set in the kastore code.
Semantics should follow what we've done in kastore, where the Python C interface is adapted to use a fileno. This would mean that we should be able to work with any kind of fileobj other than a BytesIO.
There's a choice to be made in whether we rename the parameter from path to file (we could keep path as a deprecated alias keyword only arg).
Activity
jeromekelleher commentedon Sep 29, 2020
This is a good one to do in combination with #14.
jeromekelleher commentedon Sep 29, 2020
Notes from #609:
Semantics should follow what we've done in kastore, where the Python C interface is adapted to use a fileno. This would mean that we should be able to work with any kind of fileobj other than a BytesIO.
There's a choice to be made in whether we rename the parameter from path to file (we could keep path as a deprecated alias keyword only arg).