def transmissions(self, status="<STR_LIT:all>", failed=False):
if status not in ["<STR_LIT:all>", "<STR_LIT>", "<STR_LIT>"]:<EOL><INDENT>raise ValueError(<EOL>"<STR_LIT>".format(status)<EOL>+ "<STR_LIT>"<EOL>)<EOL><DEDENT>if failed not in ["<STR_LIT:all>", False, True]:<EOL><INDENT>raise ValueError("<STR_LIT>".format(failed))<EOL><DEDENT>if status == "<STR_LIT:all>":<EOL><INDENT>if failed == "<STR_LIT:all>":<EOL><INDENT>return Transmission.query.filter_by(network_id=self.id).all()<EOL><DEDENT>else:<EOL><INDENT>return Transmission.query.filter_by(<EOL>network_id=self.id, failed=failed<EOL>).all()<EOL><DEDENT><DEDENT>else:<EOL><INDENT>if failed == "<STR_LIT:all>":<EOL><INDENT>return Transmission.query.filter_by(<EOL>network_id=self.id, status=status<EOL>).all()<EOL><DEDENT>else:<EOL><INDENT>return Transmission.query.filter_by(<EOL>network_id=self.id, status=status, failed=failed<EOL>).all()<EOL><DEDENT><DEDENT>
Get transmissions in the network.

        status { "all", "received", "pending" }
        failed { False, True, "all" }
        To get transmissions from a specific vector, see the
        transmissions() method in class Vector.