Table of Contents

Class: Context ./src/peak/web/environ.py

Keep track of current traversal state

Methods   
__init__
_setup
allows
childContext
clone
parentContext
peerContext
renderHTTP
requireAccess
shift
traverseName
viewService
  __init__ 
__init__ (
        self,
        name,
        current,
        environ,
        previous=None,
        **kw,
        )

  _setup 
_setup ( self,  kw )

Exceptions   
TypeError("%s constructor has no keyword argument %s" %( klass, k ) )
  allows 
allows (
        self,
        subject,
        name=None,
        permissionNeeded=NOT_GIVEN,
        user=NOT_GIVEN,
        )

  childContext 
childContext (
        self,
        name,
        ob,
        )

  clone 
clone ( self,  **kw )

  parentContext 
parentContext ( self )

  peerContext 
peerContext (
        self,
        name,
        ob,
        )

  renderHTTP 
renderHTTP ( self )

  requireAccess 
requireAccess (
        self,
        qname,
        *args,
        *kw,
        )

Exceptions   
errors.NotAllowed(self, qname, getattr( result, 'message', "Permission denied" ) )
  shift 
shift ( self )

  traverseName 
traverseName (
        self,
        name,
        default=NOT_GIVEN,
        )

Exceptions   
errors.NotFound( self, name, self.current )
  viewService 
viewService ( self )


Table of Contents

This document was automatically generated on Mon Nov 11 01:11:04 2024 by HappyDoc version 2.1