Skip to content

Interfaces

IStatus

Bases: Interface

This interface allows extensions to modify and add status reports for various systems.

Source code in ckanext/status/interfaces.py
10
11
12
13
14
15
16
17
18
19
20
21
22
23
class IStatus(interfaces.Interface):
    """
    This interface allows extensions to modify and add status reports for various
    systems.
    """

    def modify_status_reports(self, status_reports):
        """
        Modify the list of items rendered on the status page.

        :param status_reports: items to present on the status page
        :returns: the modified list
        """
        return status_reports

modify_status_reports(status_reports)

Modify the list of items rendered on the status page.

Parameters:

Name Type Description Default
status_reports

items to present on the status page

required

Returns:

Type Description

the modified list

Source code in ckanext/status/interfaces.py
16
17
18
19
20
21
22
23
def modify_status_reports(self, status_reports):
    """
    Modify the list of items rendered on the status page.

    :param status_reports: items to present on the status page
    :returns: the modified list
    """
    return status_reports