Revision 1c366ac9 kamaki/clients/pithos/rest_api.py
b/kamaki/clients/pithos/rest_api.py | ||
---|---|---|
76 | 76 |
marker=None, |
77 | 77 |
format='json', |
78 | 78 |
show_only_shared=False, |
79 |
public=False, |
|
79 | 80 |
until=None, |
80 | 81 |
if_modified_since=None, |
81 | 82 |
if_unmodified_since=None, |
... | ... | |
114 | 115 |
self.set_param('marker', marker, iff=marker) |
115 | 116 |
self.set_param('format', format, iff=format) |
116 | 117 |
self.set_param('shared', iff=show_only_shared) |
118 |
self.set_param('public', iff=public) |
|
117 | 119 |
self.set_param('until', until, iff=until) |
118 | 120 |
|
119 | 121 |
self.set_header('If-Modified-Since', if_modified_since) |
... | ... | |
220 | 222 |
format='json', |
221 | 223 |
meta=[], |
222 | 224 |
show_only_shared=False, |
225 |
public=False, |
|
223 | 226 |
until=None, |
224 | 227 |
if_modified_since=None, |
225 | 228 |
if_unmodified_since=None, |
... | ... | |
275 | 278 |
self.set_param('path', path) |
276 | 279 |
self.set_param('format', format, iff=format) |
277 | 280 |
self.set_param('shared', iff=show_only_shared) |
281 |
self.set_param('public', iff=public) |
|
278 | 282 |
if meta: |
279 | 283 |
self.set_param('meta', ','.join(meta)) |
280 | 284 |
self.set_param('until', until, iff=until) |
Also available in: Unified diff