Skip to content

fix result returned empty result list by adding result to function call #2

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dan-gut1
Copy link

@dan-gut1 dan-gut1 commented Feb 25, 2023

This is an in function call fix.
When ever '_recursive_get_connections' function is call a list should be passed with it, if list doesn't passed a new list will be initiated within the function (Line: 25)

Note: I'm unable to test this fix and encourage you to use the global list fix since i was able to check it on my environments.

Changes:

  1. Line: 18 - Adding 'Result' to function call with default value None.
  2. Line: 25 - Result list comprehension.
  3. Line 35 - When recursive call takes place - now the call from within the function will pass current and updated list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants