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

failed = { False, True, "all" }
To get the vectors to/from to a specific node, see Node.vectors().