예제 #1
0
파일: __init__.py 프로젝트: adamchainz/xal
    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