diff options
author | Lars Wirzenius <liw@liw.fi> | 2018-04-21 15:14:04 +0300 |
---|---|---|
committer | Lars Wirzenius <liw@liw.fi> | 2018-04-21 15:14:04 +0300 |
commit | f446562c11340ec9101802cfa7c917ed2eac1aa2 (patch) | |
tree | daf2b04151113efed48ed1cdc19929b1b0dee4fe | |
parent | c84ce7c6ab029dd788a87428d2d74e7f5c5a5cd4 (diff) | |
download | ick2-f446562c11340ec9101802cfa7c917ed2eac1aa2.tar.gz |
Add: show_blob
-rw-r--r-- | ick2/client.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ick2/client.py b/ick2/client.py index 008cfd7..7d0af57 100644 --- a/ick2/client.py +++ b/ick2/client.py @@ -210,6 +210,10 @@ class ControllerClient: url = self.url(path) return self._api.get_dict(url) + def show_blob(self, path): # pragma: no cover + url = self.url(path) + return self._api.get_blob(url) + def create(self, path, obj): # pragma: no cover url = self.url(path) return self._api.post(url, body=obj) |