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
EssenceFS never calls a serializer to save changes to disk when in write or create mode.
This requires the user to manually save the filesystem using a serializer.
E.G.
withopen_fs("sga://somepath.sga") assga:
... # Some writes to the 'sga' object's filesystemwithopen(outfile, "wb") assga_file:
v2_serializer.write(sga_file, sga)
Preferably, this would be condensed to the snippet below, using PyFilesystem's __exit__() and close() methods.
withopen_fs("sga://somepath.sga") assga:
... # Some writes to the 'sga' object's filesystem
Unfortunately, we would need to cover the case where essence-fs is created manually, as there is no underlying file to write to
withEssenceFS() assga:
... # Some writes to the 'sga' object's filesystem
The text was updated successfully, but these errors were encountered:
EssenceFS never calls a serializer to save changes to disk when in write or create mode.
This requires the user to manually save the filesystem using a serializer.
E.G.
Preferably, this would be condensed to the snippet below, using PyFilesystem's
__exit__()
andclose()
methods.Unfortunately, we would need to cover the case where essence-fs is created manually, as there is no underlying file to write to
The text was updated successfully, but these errors were encountered: