Closed danielballan closed 5 years ago
Now that is super-annoying. I'm surprised, though - tuples are pretty common, I would have thought we have them elsewhere. It should definitely be allowed by the safe loader (and sets too, although those are unlikely).
Hold on...
We ran into the same problem in Datashader, and recoded our tuples as lists, but that's not always feasible...
Turns out that YAML does support sets natively, though, so this is the only basic type missing.
Thanks for the fast fix!
I get a test failure locally running
intake-xarray
onmaster
andintake==0.5.1
. It looks like the persistence is encoding a Python tuple as opposed to a generic sequence, and the "safe" YAML loader can't decode it.