Open ahellander opened 9 years ago
I tried to use Swift to provide a mesh file globally to all workers. What I did was to upload it manually in Swift, and then thinking that I could do
ps = PersistentStorage("meshbucket") mesh = ps.get("mesh.msh")
But this does not work because ps.get() only works for objects created via ps.put()
In one way this makes sense, but in one way it is quite annoying. Should we add a flag:
ps.get(name, unpickle=False)
?
I tried to use Swift to provide a mesh file globally to all workers. What I did was to upload it manually in Swift, and then thinking that I could do
ps = PersistentStorage("meshbucket") mesh = ps.get("mesh.msh")
But this does not work because ps.get() only works for objects created via ps.put()
In one way this makes sense, but in one way it is quite annoying. Should we add a flag:
ps.get(name, unpickle=False)
?