auth0/v3/management/rules.py
def all(self, stage='login_success', enabled=True, fields=None,
            include_fields=True, page=None, per_page=None, include_totals=False):
        """Retrieves a list of all rules.

        Args:
            stage (str, optional):  Retrieves rules that match the execution
                stage (defaults to login_success).

            enabled (bool, optional): If provided, retrieves rules that match
                the value, otherwise all rules are retrieved.

            fields (list, optional): A list of fields to include or exclude
                (depending on include_fields) from the result, empty to
                retrieve all fields.

            include_fields (bool, optional): True if the fields specified are
                to be included in the result, False otherwise
                (defaults to true).

            page (int, optional): The result's page number (zero based).

            per_page (int, optional): The amount of entries per page.

            include_totals (bool, optional): True if the query summary is
                to be included in the result, False otherwise.
        """

        params = {
            'stage': stage,
            'fields': fields and ','.join(fields) or None,
            'include_fields': str(include_fields).lower(),
            'page': page,
            'per_page': per_page,
            'include_totals': str(include_totals).lower()
        }

        # since the default is True, this is here to disable the filter
        if enabled is not None:
            params['enabled'] = str(enabled).lower()

        return self.client.get(self._url(), params=params)
Retrieves a list of all rules.

        Args:
            stage (str, optional):  Retrieves rules that match the execution
                stage (defaults to login_success).

            enabled (bool, optional): If provided, retrieves rules that match
                the value, otherwise all rules are retrieved.

            fields (list, optional): A list of fields to include or exclude
                (depending on include_fields) from the result, empty to
                retrieve all fields.

            include_fields (bool, optional): True if the fields specified are
                to be included in the result, False otherwise
                (defaults to true).

            page (int, optional): The result's page number (zero based).

            per_page (int, optional): The amount of entries per page.

            include_totals (bool, optional): True if the query summary is
                to be included in the result, False otherwise.
        
Retrieves a list of all rules.
Retrieves a list of all rules .
def all(self, stage='login_success', enabled=True, fields=None,
            include_fields=True, page=None, per_page=None, include_totals=False):
        params = {
            'stage': stage,
            'fields': fields and ','.join(fields) or None,
            'include_fields': str(include_fields).lower(),
            'page': page,
            'per_page': per_page,
            'include_totals': str(include_totals).lower()
        }
        if enabled is not None:
            params['enabled'] = str(enabled).lower()
        return self.client.get(self._url(), params=params)
def all ( self , stage = 'login_success' , enabled = True , fields = None , include_fields = True , page = None , per_page = None , include_totals = False ) : params = { 'stage' : stage , 'fields' : fields and ',' . join ( fields ) or None , 'include_fields' : str ( include_fields ) . lower ( ) , 'page' : page , 'per_page' : per_page , 'include_totals' : str ( include_totals ) . lower ( ) } if enabled is not None : params [ 'enabled' ] = str ( enabled ) . lower ( ) return self . client . get ( self . _url ( ) , params = params )
Retrieves a list of all rules.
Retrieves a list of all rules .
"""Retrieves a list of all rules.

        Args:
            stage (str, optional):  Retrieves rules that match the execution
                stage (defaults to login_success).

            enabled (bool, optional): If provided, retrieves rules that match
                the value, otherwise all rules are retrieved.

            fields (list, optional): A list of fields to include or exclude
                (depending on include_fields) from the result, empty to
                retrieve all fields.

            include_fields (bool, optional): True if the fields specified are
                to be included in the result, False otherwise
                (defaults to true).

            page (int, optional): The result's page number (zero based).

            per_page (int, optional): The amount of entries per page.

            include_totals (bool, optional): True if the query summary is
                to be included in the result, False otherwise.
        """ # since the default is True, this is here to disable the filter
self
stage
Retrieves rules that match the execution
stage (defaults to login_success).
Retrieves rules that match the execution stage ( defaults to login_success ) .
enabled
If provided, retrieves rules that match
the value, otherwise all rules are retrieved.
If provided retrieves rules that match the value otherwise all rules are retrieved .
fields
A list of fields to include or exclude
(depending on include_fields) from the result, empty to
retrieve all fields.
A list of fields to include or exclude ( depending on include_fields ) from the result empty to retrieve all fields .
include_fields
True if the fields specified are
to be included in the result, False otherwise
(defaults to true).
True if the fields specified are to be included in the result False otherwise ( defaults to true ) .
page
The result's page number (zero based).
The result ' s page number ( zero based ) .
per_page
The amount of entries per page.
The amount of entries per page .
include_totals
True if the query summary is
to be included in the result, False otherwise.
True if the query summary is to be included in the result False otherwise .