Skip to content

Commit

Permalink
FCL-448 | add some types to search response
Browse files Browse the repository at this point in the history
  • Loading branch information
jlhdxw committed Nov 26, 2024
1 parent a3ee6dd commit 5542c1d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion judgments/feeds.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from caselawclient.client_helpers.search_helpers import (
search_judgments_and_parse_response,
)
from caselawclient.responses.search_response import SearchResponse
from caselawclient.responses.search_result import SearchResult
from caselawclient.search_parameters import SearchParameters
from django.contrib.syndication.views import Feed
Expand Down Expand Up @@ -178,7 +179,7 @@ def render_html(self, request):

search = self.get_object(request)

search_response = search.get("search_response")
search_response: SearchResponse = search.get("search_response", {})

context["search_results"] = search_response.results

Expand Down

0 comments on commit 5542c1d

Please sign in to comment.