ftdt opened a new pull request, #23444:
URL: https://github.com/apache/superset/pull/23444
### SUMMARY
The current implementation returns the root of the faulty branch in the tree
```python
if neighbour in path or visit(neighbour):
return (vertex, neighbour)
```
The goal of this PR is to pinpoint the exact faulty link in the tree.
```python
cycle = (vertex, neighbour) if neighbour in path else visit(neighbour)
if cycle:
return cycle
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]