Table of Contents

Class: IConfigKey ./src/peak/config/interfaces.py

Configuration data key, used for config.lookup() et al

Configuration keys may be polymorphic at registration or lookup time. IOW, when looking up a configuration key, you can search multiple values that would imply the key being looked for. And, when registering a value for a configuration key, the key can supply alternate keys that it should be registered under. Thus, an IConfigKey is never itself directly used as a key, only the values supplied by its registrationKeys() and lookupKeys() methods are used. (However, those values must themselves be adaptable to IConfigKey, and they must be usable as dictionary keys.)

Base Classes   
Interface
Methods   
lookupKeys
parentKeys
registrationKeys
  lookupKeys 
lookupKeys ()

Iterate over keys that should be used for lookup

  parentKeys 
parentKeys ()

Iterate over keys that are containing namespaces for this key

  registrationKeys 
registrationKeys ( depth=0 )

Iterate over (key,depth) pairs to be used when registering


Table of Contents

This document was automatically generated on Mon May 6 01:11:03 2024 by HappyDoc version 2.1