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

Improve processing monkey patching #58404

Merged
merged 4 commits into from
Aug 17, 2024

Conversation

nyalldawson
Copy link
Collaborator

"forward declare" functions which will be patched when the processing plugin starts, so that these are known and accessible during the PyQGIS doc building. Also make these forward declared versions raise QgsNotSupportedException, so that its clear why they aren't working when the processing plugin hasn't started

Fixes qgis/pyqgis-api-docs-builder#38

@github-actions github-actions bot added this to the 3.40.0 milestone Aug 16, 2024
Copy link

github-actions bot commented Aug 16, 2024

🪟 Windows builds ready!

Windows builds of this PR are available for testing here. Debug symbols for this build are available here.

(Built from commit 28255b5)

Copy link
Member

@3nids 3nids left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good idea!

python/processing/__init__.py Show resolved Hide resolved
"forward declare" functions which will be patched when the processing
plugin starts, so that these are known and accessible during the PyQGIS
doc building. Also make these forward declared versions raise
QgsNotSupportedException, so that its clear why they aren't working
when the processing plugin hasn't started

Fixes qgis/pyqgis-api-docs-builder#38
@nyalldawson nyalldawson merged commit 9e25dd9 into qgis:master Aug 17, 2024
29 checks passed
@nyalldawson nyalldawson deleted the processing_monkey_patch branch August 17, 2024 09:59
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

Successfully merging this pull request may close these issues.

Add Processing monkey patching
2 participants