(
        self, path, session, search_placeholder=None, signer=None, db=None, auth=None
    )
Displays a grid.
        :param path: Path where the grid is loaded via AJAX.
        :param session: used by the signer.
        :param signer: singer for URLs.
        :param db: specify a db if you need it added as widget.
        :param auth: specify auth if you need it added as widget.
Displays a grid.
        :param path: Path where the grid is loaded via AJAX.
        :param session: used by the signer.
        :param signer: singer for URLs.
        :param db: specify a db if you need it added as widget.
        :param auth: specify auth if you need it added as widget.
Displays a grid . : param path : Path where the grid is loaded via AJAX . : param session : used by the signer . : param signer : singer for URLs . : param db : specify a db if you need it added as widget . : param auth : specify auth if you need it added as widget .
def __init__(
        self, path, session, search_placeholder=None, signer=None, db=None, auth=None
    ):
        """
        Displays a grid.
        :param path: Path where the grid is loaded via AJAX.
        :param session: used by the signer.
        :param signer: singer for URLs.
        :param db: specify a db if you need it added as widget.
        :param auth: specify auth if you need it added as widget.
        """
        self.path = path
        self.search_placeholder = search_placeholder
        self.signer = signer or URLSigner(session)
        # Creates an action (an entry point for URL calls),
        # mapped to the api method, that can be used to request pages
        # for the table.
        self.__prerequisites__ = [session]
        args = list(filter(None, [session, db, auth, self.signer.verify()]))
        f = action.uses(*args)(self.api)
        action(self.path, method=["GET"])(f)
def __init__ ( self , path , session , search_placeholder = None , signer = None , db = None , auth = None ) : self . path = path self . search_placeholder = search_placeholder self . signer = signer or URLSigner ( session ) # Creates an action (an entry point for URL calls), # mapped to the api method, that can be used to request pages # for the table. self . __prerequisites__ = [ session ] args = list ( filter ( None , [ session , db , auth , self . signer . verify ( ) ] ) ) f = action . uses ( * args ) ( self . api ) action ( self . path , method = [ "GET" ] ) ( f )