mirror of
https://github.com/qgis/QGIS.git
synced 2025-10-18 00:06:00 -04:00
[processing] Fix API break which breaks some 3rd party providers (e.g. R and Javascript providers)
This commit is contained in:
parent
ed2a0ed098
commit
aa8d5cd22e
@ -87,7 +87,7 @@ PARAMETER_FOLDER_DESTINATION = 'folderDestination'
|
|||||||
PARAMETER_RASTER_DESTINATION = 'rasterDestination'
|
PARAMETER_RASTER_DESTINATION = 'rasterDestination'
|
||||||
|
|
||||||
|
|
||||||
def getParameterFromString(s, context):
|
def getParameterFromString(s, context=''):
|
||||||
# Try the parameter definitions used in description files
|
# Try the parameter definitions used in description files
|
||||||
if '|' in s and (s.startswith("QgsProcessingParameter") or s.startswith("*QgsProcessingParameter") or s.startswith('Parameter') or s.startswith('*Parameter')):
|
if '|' in s and (s.startswith("QgsProcessingParameter") or s.startswith("*QgsProcessingParameter") or s.startswith('Parameter') or s.startswith('*Parameter')):
|
||||||
isAdvanced = False
|
isAdvanced = False
|
||||||
|
Loading…
x
Reference in New Issue
Block a user