Skip to content

Commit

Permalink
misc.
Browse files Browse the repository at this point in the history
  • Loading branch information
MartinBernstorff committed Aug 31, 2023
1 parent c3b0e90 commit b36d9b5
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/gpt2anki/sources/hypothesis.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import datetime as dt
import json
import re
from typing import List

import pytz
import requests
Expand Down Expand Up @@ -58,7 +57,7 @@ def get_highlights_since_date(self, date: dt.datetime) -> tuple[OrphanHighlight]
# Convert the response content to a Python dictionary
response_dict = json.loads(content)

highlights: List[OrphanHighlight] = []
highlights: list[OrphanHighlight] = []
for row in response_dict["rows"]:
try:
highlights.append(
Expand Down

0 comments on commit b36d9b5

Please sign in to comment.