def streams(self):
result = self.db.read(self.path, {"<STR_LIT:q>": "<STR_LIT>"})<EOL>if result is None or result.json() is None:<EOL><INDENT>return []<EOL><DEDENT>streams = []<EOL>for s in result.json():<EOL><INDENT>strm = self[s["<STR_LIT:name>"]]<EOL>strm.metadata = s<EOL>streams.append(strm)<EOL><DEDENT>return streams<EOL>
Returns the list of streams that belong to the device