mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04: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'
|
||||
|
||||
|
||||
def getParameterFromString(s, context):
|
||||
def getParameterFromString(s, context=''):
|
||||
# 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')):
|
||||
isAdvanced = False
|
||||
|
Loading…
x
Reference in New Issue
Block a user