Module ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Expr Str FunctionDef arguments args NameParam defaults vararg kwarg body Return Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam defaults vararg kwarg body FunctionDef arguments args NameParam defaults body Assign NameStore Call NameLoad NameLoad NameLoad Assign AttributeStore NameLoad attr NameLoad Assign NameStore SubscriptLoad AttributeLoad NameLoad attr Index Str Return Call AttributeLoad NameLoad attr Str NameLoad decorator_list Return NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam defaults Num body Assign NameStore Call NameLoad NameLoad keyword NameLoad keyword Str Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults NameLoad body Expr Str If CompareIs NameLoad NameLoad body Assign NameStore Call AttributeLoad Str attr Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr Str Str attr Assign NameStore Call AttributeLoad NameLoad attr Str Return Call AttributeLoad Str attr ListLoad NameLoad NameLoad decorator_list NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad body Expr Str Assign NameStore TupleLoad Str Str Str Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str NameLoad BinOpAdd NameLoad Str Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr keyword Call AttributeLoad NameLoad attr Str NameLoad keyword NameLoad Return NameLoad decorator_list NameLoad decorator_list
N/A pyramid.response Response resources Resource PyramidResource N/A Resource N/A N/A 
    A Pyramid-specific ``Resource`` subclass.

    Doesn't require any special configuration, but helps when working in a
    Pyramid environment.
     as_list N/A N/A cls N/A args kwargs N/A N/A N/A N/A N/A super PyramidResource cls as_list args kwargs N/A classmethod as_detail N/A N/A cls N/A init_args init_kwargs N/A _wrapper N/A N/A request N/A N/A N/A inst N/A cls init_args init_kwargs N/A N/A inst request request N/A name N/A N/A request matchdict N/A name N/A N/A N/A inst handle detail name N/A N/A _wrapper N/A classmethod build_response N/A N/A self data status N/A 200 N/A N/A resp N/A Response data status_code status content_type application/json N/A resp N/A build_routename N/A N/A cls name routename_prefix N/A None N/A N/A 
        Given a ``name`` & an optional ``routename_prefix``, this generates a
        name for a URL.

        :param name: The name for the URL (ex. 'detail')
        :type name: string

        :param routename_prefix: (Optional) A prefix for the URL's name (for
            resolving). The default is ``None``, which will autocreate a prefix
            based on the class name. Ex: ``BlogPostResource`` ->
            ``api_blogpost_list``
        :type routename_prefix: string

        :returns: The final name
        :rtype: string
         N/A N/A routename_prefix None N/A N/A routename_prefix N/A N/A api_{0} format N/A N/A N/A N/A N/A cls __name__ replace Resource lower N/A routename_prefix N/A N/A routename_prefix rstrip _ N/A N/A N/A _ join N/A routename_prefix name N/A classmethod add_views N/A N/A cls config rule_prefix routename_prefix N/A None N/A N/A 
        A convenience method for registering the routes and views in pyramid.

        This automatically adds a list and detail endpoint to your routes.

        :param config: The pyramid ``Configurator`` object for your app.
        :type config: ``pyramid.config.Configurator``

        :param rule_prefix: The start of the URL to handle.
        :type rule_prefix: string

        :param routename_prefix: (Optional) A prefix for the route's name.
            The default is ``None``, which will autocreate a prefix based on the
            class name. Ex: ``PostResource`` -> ``api_post_list``
        :type routename_prefix: string

        :returns: ``pyramid.config.Configurator``
         N/A methods N/A GET POST PUT DELETE N/A N/A N/A config add_route N/A N/A cls build_routename list routename_prefix rule_prefix N/A N/A N/A config add_view N/A N/A cls as_list route_name N/A N/A cls build_routename list routename_prefix request_method methods N/A N/A N/A config add_route N/A N/A cls build_routename detail routename_prefix N/A rule_prefix {name}/ N/A N/A N/A config add_view N/A N/A cls as_detail route_name N/A N/A cls build_routename detail routename_prefix request_method methods N/A config N/A classmethod N/A