add_raw_list#
- Transaction.add_raw_list(node_value_pairs: List[Tuple[str, Any]]) None [source]#
Adds multiple set commands at a time.
- Parameters:
node_value_pairs (List[Tuple[str, Any]]) – List of settings in the form of (node_string, value)
/dev1234/.../attr1 (the node_strings are assumed to be valid and of the form) –
- Raises:
TookitError – if this function is called outside a transaction. It is exclusively designed to be used within transactions.
- Return type:
None
- Note: settings can only take strings which to
describe a node, but no node objects