NowanIlfideme / pydantic-cereal

Advanced serialization for Pydantic v2
MIT License
5 stars 0 forks source link

Use transactions where available with `fsspec` #31

Open NowanIlfideme opened 7 months ago

NowanIlfideme commented 7 months ago

We should use transactions, i.e. AbstractFileSystem.transaction, within write_model to ensure objects aren't only partially written.

However, sometimes it's much easier to debug without transactions... so we should have that option, too.