For instances of the Package and Resource classes, the save method does not take into account the base_path argument of the instance when saving to json. From the documentation, I would expect the target argument to contain a relative path (tested with the helpers.is_safe_path function), to be appended to base_path.
For instances of the Package and Resource classes, the save method does not take into account the
base_path
argument of the instance when saving to json. From the documentation, I would expect thetarget
argument to contain a relative path (tested with thehelpers.is_safe_path
function), to be appended tobase_path
.If you would like, I could try my hand at a PR.