openMetadataInitiative / openMINDS_Python

Python package for the openMINDS metadata models. The package contains all openMINDS schemas as Python classes in addition to schema base classes and utility methods.
MIT License
1 stars 2 forks source link

save () - saving collections #13

Open Peyman-N opened 1 year ago

Peyman-N commented 1 year ago

Saving a collection as directory should probably consider sub-directories according to schema types (instead of a purely flat list of JSONLDs)

PatrikBey commented 11 months ago

Hey, it would be very helpful if indeed it could retain the same depth of directories as the prior version, i.e. retaining subfolders for each schema type containing the corresponding instances, if the flag for individual files is set to True.