Removing unused path parameter

The path parameter is not used in the function.
pull/1030/head
Mahak Shah 2024-12-07 00:49:49 -08:00 committed by GitHub
parent 40d5d2edcc
commit d83f9bd07b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -190,7 +190,7 @@ class UserGraphService(object):
# Reverse the list since we iterated backwards
return path_ids[::-1]
def _shortest_path(self, source_key, dest_key, path):
def _shortest_path(self, source_key, dest_key):
# Use the id to get the Person
source = self.person(source_key)
# Update our bfs queue