Open braingram opened 3 months ago
To provide a bit more context. The lack of "pickle-ability" means AsdfFile
instances do not play well with multiprocessing
:
def get_a(af):
return af['a']
with multiprocessing.Pool(4):
pool.map(get_a, [af])
Fails with the above error.
Description of the problem
AsdfFile
instances are not pickleable.Example of the problem
Fails with
System information
asdf version: main python version: 3.10 operating system: mac os (m1)