Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[Processing] add an algs static method to Processing for server
  • Loading branch information
rldhont committed May 28, 2016
1 parent 427559c commit d8ccec0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions python/plugins/processing/core/Processing.py
Expand Up @@ -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.
Expand Down

0 comments on commit d8ccec0

Please sign in to comment.