dispatch/modules/integrations/integrations.py
def get_settings(cls, show_hidden=False):
        """
        Retrieves the settings for this integration as a dictionary.

        Removes all hidden fields if show_hidden=False
        """
        settings = Integration.objects.get_settings(cls.ID)

        if not show_hidden:
            for field in cls.HIDDEN_FIELDS:
                settings.pop(field, None)

        return settings
def get_settings(cls, show_hidden=False):
        settings = Integration.objects.get_settings(cls.ID)

        if not show_hidden:
            for field in cls.HIDDEN_FIELDS:
                settings.pop(field, None)

        return settings
def get_settings ( cls , show_hidden = False ) : settings = Integration . objects . get_settings ( cls . ID ) if not show_hidden : for field in cls . HIDDEN_FIELDS : settings . pop ( field , None ) return settings
Retrieves the settings for this integration as a dictionary.

        Removes all hidden fields if show_hidden=False
Retrieves the settings for this integration as a dictionary .