yt.frontends.stream.data_structures.StreamHierarchy.save_object

StreamHierarchy.save_object(obj, name)

Save an object (obj) to the data_file using the Pickle protocol, under the name name on the node /Objects.