My specific attempt was via a file stored on OSF. The following:
instr = attune.open(r"https://osf.io/6s7gk/download")
currently does not work (OSError).
Using requests.get works
instr = attune.Instrument(**requests.get("https://osf.io/6s7gk/download").json())
solution block might be something like:
try:
[normal path opening stuff]
except OSError as e:
return requests.get(r"https://osf.io/6s7gk/download").json()
My specific attempt was via a file stored on OSF. The following:
currently does not work (OSError).
Using
requests.getworkssolution block might be something like: