Call to
gives ERROR: KeyError: key :name not found, triggered by
|
only(filter(s -> s.attributes[:name] == storage, storages)) |
[s.attributes for s ∈ OSF.API.relationship(client, proj.entity, :files).data] gives
2-element Vector{Dict{Symbol, Any}}:
Dict(:kind => "folder", :provider => "osfstorage", :node => "qsabn", :path => "/", :name => "osfstorage")
Dict(:kind => "folder", :provider => "dropbox", :node => "qsabn", :path => "/")
View-only OSF project link: https://osf.io/qsabn/overview?view_only=2a03b6c78ef14922a3e244f3d549de78
You can replicate it with:
import OpenScienceFramework as OSF
client = OSF.Client(view_only = "2a03b6c78ef14922a3e244f3d549de78")
proj = OSF.project(client, "qsabn")
OSF.directory(proj, "/")
Call to
gives
ERROR: KeyError: key :name not found, triggered byOpenScienceFramework.jl/src/highlevel.jl
Line 122 in 0000000
[s.attributes for s ∈ OSF.API.relationship(client, proj.entity, :files).data]givesView-only OSF project link: https://osf.io/qsabn/overview?view_only=2a03b6c78ef14922a3e244f3d549de78
You can replicate it with: