|
|
@@ -58,10 +58,11 @@ class Client(object): |
|
|
|
return self.http.get("dbinfo") |
|
|
|
|
|
|
|
def stream_list(self, path = None, layout = None, extended = False): |
|
|
|
"""Return a sorted list of [path,layout] lists. If 'path' or |
|
|
|
"""Return a sorted list of [path, layout] lists. If 'path' or |
|
|
|
'layout' are specified, only return streams that match those |
|
|
|
exact values. If 'extended' is True, the returned lists are |
|
|
|
is [path,layout,extent_min,extent_max,total_rows,total_seconds].""" |
|
|
|
exact values. If 'extended' is True, the returned lists have |
|
|
|
extended info, e.g.: [path, layout, extent_min, extent_max, |
|
|
|
total_rows, total_seconds.""" |
|
|
|
params = {} |
|
|
|
if path is not None: |
|
|
|
params["path"] = path |
|
|
|