Returns a set of the dependencies of a version. Throws an exception if the version is not in the graph.
(self, version)
| 192 | return set(self.graph.descendants(extension)) |
| 193 | |
| 194 | def versionChildren(self, version): |
| 195 | """Returns a set of the dependencies of a version. |
| 196 | Throws an exception if the version is not in the graph.""" |
| 197 | |
| 198 | if version not in self.versions: |
| 199 | raise Exception(f'Version {version} not found in XML!') |
| 200 | |
| 201 | return set(self.graph.descendants(version)) |
| 202 | |
| 203 | |
| 204 | # Test script |
nothing calls this directly
no test coverage detected