Skip to content

Commit

Permalink
remove todo
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-nork committed Jul 10, 2023
1 parent 047340b commit 060eb0b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion chirps/scan/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ def create(request):
@login_required
def dashboard(request):
"""Render the scan dashboard."""

user_scans = Scan.objects.filter(user=request.user)

# We're going to perform some manual aggregation (sqlite doesn't support calls to distinct())
Expand Down
1 change: 0 additions & 1 deletion chirps/target/providers/pinecone.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ def decrypted_api_key(self):

def search(self, query: str, max_results: int) -> list[str]:
"""Search the Pinecone target with the specified query."""
# TODO: (alexn) uncomment when embeddings have been figured out
# pinecone_lib.init(api_key=self.api_key, environment=self.environment)

# # Assuming the query is converted to a vector of the same dimension as the index. We should re-visit this.
Expand Down

0 comments on commit 060eb0b

Please sign in to comment.