We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
import json from neurostore.resources.nested import nested_load from neurostore.resources.data import StudysetsView from neurostore.schemas import StudysetSnapshot q = Studyset.query.filter_by(id='34zX9zSLDYXe') q = q.options(nested_load(StudysetsView)) ns = q.one() ns_dump = StudysetSnapshot().dump(ns) with open("neurostore.json", "w+") as db: json.dump(ns_dump, db, default=str)