use Page object in a method's signature throws #770
-
Hi,
I want to change the method signature to be more informative, but I cannot seem to specify Page as an object, for example - also tried - Any suggestions? Thank you! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi @maayansharon10 Appreciate your interest in the library. The reason is because the |
Beta Was this translation helpful? Give feedback.
Hi @maayansharon10 Appreciate your interest in the library. The reason is because the
Page
class is not exposed. However, if you want to still import it and use as a type hint, you can usepdfplumber.page.Page
instead ofpdfplumber.Page
. Notice the.page.
import