Skip to content
Permalink
Browse files

[Processing] add an algs static method to Processing for server

  • Loading branch information
rldhont committed May 28, 2016
1 parent 427559c commit d8ccec0e0ae41149373e9f92d6c21b3b549a692e
Showing with 6 additions and 0 deletions.
  1. +6 −0 python/plugins/processing/core/Processing.py
@@ -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.

0 comments on commit d8ccec0

Please sign in to comment.
You can’t perform that action at this time.