Example #1
0
    def __init__(self):
        """Constructor."""
        #: Mapping between identifiers and actual provider instances.
        #:
        #: The registry itself if a special kind of provider.
        #: Every client should have at least one provider identified by
        #: "registry".
        self.registry = Registry()

        # Attach session to registry for reverse relationship.
        self.registry.xal_session = self