materials-marketplace / python-sdk

Python software development kit for MarketPlace.
MIT License
0 stars 1 forks source link

Some operations return str, but there are proper response models #44

Open csadorf opened 2 years ago

csadorf commented 2 years ago

I noticed that we are returning str on a few operations, e.g., here: https://github.com/materials-marketplace/python-sdk/blob/592346916a903db678f117f092c38b1c4bc2b545/marketplace/app/v0/object_storage.py#L72-L82

However, according to the API, the response is actually also a JSON object. Can we fix that inconsistency, please?

Originally posted by @csadorf in https://github.com/materials-marketplace/python-sdk/pull/43#pullrequestreview-1085427061