vantage6.client.subclients.store.rule.StoreRuleSubClient#

class StoreRuleSubClient(parent)#

Bases: SubClient

Subclient for the rules from the algorithm store.

__init__(parent)#

Methods

__init__(parent)

list([name, operation, role, username, ...])

List algorithms

list(name=None, operation=None, role=None, username=None, serverUrl=None, page=1, per_page=10)#

List algorithms

Parameters:
  • name (str) – Filter by name (with LIKE operator).

  • operation (str) – Filter by operation (view, create, update, delete, or review).

  • role (int) – Filter by role id.

  • username (str) – Filter by user using the username. Used in combination with ‘serverUrl’ to identify a user.

  • serverUrl (str) – Filter by user. Used in combination with ‘username’ to identify a user. If not given, defaults to the server this client is connected to.

  • page (int) – Page number for pagination (default=1)

  • per_page (int) – Number of items per page (default=10)

Returns:

List of rules

Return type:

list[dict]