`coscine.resource.Resource.quota()` does not work
I think data will be a dict
and thus we need data["data"]["usedSizeByte"]
instead.
---------------------------------------------------------------------------
TypeError Traceback (most recent call last)
<ipython-input-11-e7a9fb35fe75> in <module>
----> 1 res.quota()
/mnt/c/Users/Siemer/pyiron_git/other_git_repos/coscine-api-python-client/src/coscine/resource.py in quota(self)
96 uri = self.client.uri("Blob", "Blob", self.id, "quota")
97 data = self.client.get(uri).json()
---> 98 return int(data("data")["usedSizeByte"])
99
100 ###############################################################################
TypeError: 'dict' object is not callable