-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
"Loosen" up acceptable parameter for model child inputs
Previously we took a harsher approach to filtering which inputs were acceptable for child algorithm parameters. E.g. a child algorithm with a vector layer input would only show outputs from other algorithms which generated a vector layer output. But this can needlessly restrict what's possible in models. E.g. an algorithm which outputs a QgsProcessingOutputFile or QgsProcessingOutputString could potentially be a valid source to a vector layer. So we should allow these as possible inputs for vector layer parameters too. This commit adds many extra acceptable input types for child parameters. It will probably expose "corner cases" where algorithms may get unexpected input types, but these will not affect existing model stability and can be fixed when identified. The payoff is a much more flexible modeler.
- Loading branch information
1 parent
a3f7655
commit 5b1afd8
Showing
1 changed file
with
13 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters