Infrastructure.path_resources#
- Infrastructure.path_resources(source, target)[source]
Retrieve the resources of the path between two nodes, if it exists.
If the path does not exist, it is computed and cached.
- Parameters:
source (str) – The name of the source node.
target (str) – The name of the target node.
- Returns:
The resources of the path between the two nodes, or None if the path does not exist.
- Return type:
PathResources