I want to save a picke object in DSS folder. Here is an example of working code outside DSS. How can I use the DSS API to do so in DSS.
scope=self.scope.replace(' ', '_').lower()
model_name='model_' + scope
opt_tree_name='opt_tree_' + scope
pkl_name=model_name + '.pkl'
# Save pickles
with open(self.builds_path + pkl_name, 'wb') as f: