Graph.set_node_cache_mode#

Graph.set_node_cache_mode(node_index: int, cache_value: int) bool[source]#

Sets the cache mode type on the node.

Parameters:
  • node_index (int) – 1 <= nodeIndex <= total number of nodes

  • cache_value (int) – Cache mode value to set

  • values (cache_value is an enumerated integer with one of the following) –

    • resolve.CACHE_AUTO_ENABLED = -1

    • resolve.CACHE_DISABLED = 0

    • resolve.CACHE_ENABLED = 1

Returns:

True if successful, False otherwise

Return type:

bool