Skip to content

Commit

Permalink
fix(get_court_by_paren): cast to str to avoid mypy warning
Browse files Browse the repository at this point in the history
  • Loading branch information
quevon24 committed Dec 11, 2024
1 parent 4943d05 commit d11736f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eyecite/helpers.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def get_court_by_paren(paren_string: str) -> Optional[str]:

# Check for an exact match first
if s == court_str:
return court["id"]
return str(court["id"])

# If no exact match, try to record a startswith match for possible
# eventual return
Expand Down

0 comments on commit d11736f

Please sign in to comment.