vantage6.client.subclients.store.role.StoreRoleSubClient#

class StoreRoleSubClient(parent)#

Bases: SubClient

Subclient for the roles from the algorithm store.

__init__(parent)#

Methods

__init__(parent)

list([name, description, user, page, per_page])

List algorithms

list(name=None, description=None, user=None, page=1, per_page=10)#

List algorithms

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

  • description (str) – Filter by description (with LIKE operator).

  • user (int) – Filter by user id.

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

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

Returns:

List of roles

Return type:

list[dict]