Plugin

class perses_api.plugin.Plugin[source]

Bases: object

The class includes all necessary methods to access the Perses plugins API

Parameters:

perses_api_model (APIModel) – Inject a Perses API model object that includes all necessary values and information

api

This is where we store the api

Type:

Api

__init__(perses_api_model: APIModel)[source]
get_plugins() list[source]

The method includes a functionality to retrieve all available plugin modules

Raises:

Exception – Unspecified error by executing the API call

Returns:

A list of plugin module dicts

Return type:

list