mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
[Processing] add an algs static method to Processing for server
This commit is contained in:
parent
427559c872
commit
d8ccec0e0a
@ -75,6 +75,12 @@ class Processing:
|
||||
# All the registered context menu actions for the toolbox
|
||||
contextMenuActions = []
|
||||
|
||||
@staticmethod
|
||||
def algs():
|
||||
"""Use this method to get algorithms for wps4server.
|
||||
"""
|
||||
return algList.algs
|
||||
|
||||
@staticmethod
|
||||
def addProvider(provider, updateList=True):
|
||||
"""Use this method to add algorithms from external providers.
|
||||
|
Loading…
x
Reference in New Issue
Block a user