chore: Remove redundant cast
This commit is contained in:
parent
ddaa75f44b
commit
682b7577de
1 changed files with 0 additions and 1 deletions
|
|
@ -35,7 +35,6 @@ class PdfExtractor:
|
||||||
for (
|
for (
|
||||||
page
|
page
|
||||||
) in doc: # pyright: ignore [reportUnknownVariableType] - missing stub
|
) in doc: # pyright: ignore [reportUnknownVariableType] - missing stub
|
||||||
page = cast(mu.Page, page)
|
|
||||||
annot: mu.Annot
|
annot: mu.Annot
|
||||||
for annot in page.annots():
|
for annot in page.annots():
|
||||||
quote, note = self._retrieve_annotation_content(page, annot)
|
quote, note = self._retrieve_annotation_content(page, annot)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue