Skip to content

Commit

Permalink
fix(opinion_page): Annotate a variable with its appropriate data type
Browse files Browse the repository at this point in the history
  • Loading branch information
ERosendo committed Nov 30, 2023
1 parent b18be8a commit aaf603d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cl/opinion_page/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ def construct(
citation_record: OpinionCluster | RECAPDocCitationRecord,
request_query_string: str,
):
doc_type: Literal["opinion", "document"]
if isinstance(citation_record, RECAPDocCitationRecord):
top_authorities = [
ViewAuthority.from_recap_cit_record(
Expand Down

0 comments on commit aaf603d

Please sign in to comment.