Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected behaviour: error after renderPDF.draw() call #22

Open
natajacks opened this issue Sep 9, 2022 · 3 comments
Open

Unexpected behaviour: error after renderPDF.draw() call #22

natajacks opened this issue Sep 9, 2022 · 3 comments

Comments

@natajacks
Copy link

Hi, please see full description of unexpected behaviour and possible bug location identified by Microsoft here:

microsoft/pylance-release#3270

Thank you!

@bschnurr
Copy link

bschnurr commented Sep 9, 2022

meant to say pylance/pyright is expecting NotImplementedError

https://github.com/microsoft/pyright/blob/main/docs/type-inference.md#noreturn-return-type

@bschnurr
Copy link

bschnurr commented Sep 9, 2022

alternatively you could annotate the return type to prevent inferencing. ie. -> None on def applyStateChanges

@timobrembeck
Copy link

@natajacks @bschnurr This repository is only a mirror and not maintained by the reportlab team.
Please describe your issue here if your problem still persists:
https://groups.google.com/g/reportlab-users

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants