Why does VS Code Pylance not recognise PyMuPDF methods? #2545
Answered
by
JorjMcKie
paultheman
asked this question in
Q&A
Replies: 1 comment
-
This method and several others are defined in `__init__.py` and depending on the IDE this sometimes is beyond its wits. Works under MS Code for example or even in Python IDLE.
Gesendet von Outlook für Android<https://aka.ms/AAb9ysg>
…________________________________
From: paultheman ***@***.***>
Sent: Saturday, July 15, 2023 4:22:54 PM
To: pymupdf/PyMuPDF ***@***.***>
Cc: Subscribed ***@***.***>
Subject: [pymupdf/PyMuPDF] Why does VS Code Pylance not recognise PyMuPDF methods? (Discussion #2545)
I was wondering why there is no code completion for some of the methods of the PyMuPDF package. For example fitz.Document is recognised but fitz.open is not.
[image]<https://user-images.githubusercontent.com/38941045/253769434-45bfacb3-cee7-4ced-9f23-d8293c7929cb.png>
Thank you!
—
Reply to this email directly, view it on GitHub<#2545>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AB7IDIXHUVIYAZOBH3BM3O3XQL3Z5ANCNFSM6AAAAAA2LPQKME>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
paultheman
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I was wondering why there is no code completion for some of the methods of the PyMuPDF package. For example fitz.Document is recognised but fitz.open is not.
Thank you!
Beta Was this translation helpful? Give feedback.
All reactions