Table of Contents

Class: IBasicContext ./src/peak/naming/interfaces.py

Basic naming context; supports only name retrieval

Base Classes   
IResolver
    Interface
Methods   
__contains__
__getitem__
close
get
has_key
lookup
lookupLink
  __contains__ 
__contains__ ( name )

Return a true value if name has a binding in context

  __getitem__ 
__getitem__ ( name )

Lookup name and return an object, or raise NameNotFound

  close 
close ()

Close the context

  get 
get ( name,  default=None )

Lookup name and return an object, or default if not found

  has_key 
has_key ( name )

Synonym for __contains__

  lookup 
lookup ( name,  default=NOT_GIVEN )

Lookup name and return object, default, or raise NameNotFound

If default is NOT_GIVEN, this method should behave identically to __getitem__(). Otherwise, it should behave like get().

  lookupLink 
lookupLink ( name )

Return terminal LinkRef of name, if it's a link


Table of Contents

This document was automatically generated on Mon Apr 22 01:11:05 2024 by HappyDoc version 2.1