def __init__(self, extensions):
        """A registry that stores extensions to open and parse Target URIs

        :param extensions: A list of extensions.
        :type extensions: yamlsettings.extensions.base.YamlSettingsExtension

        """
        self.registry = {}
        self.extensions = {}
        self.default_protocol = 'file'
        for extension in extensions:
            self.add(extension)
        self._discover()
def __init__ ( self , extensions ) : self . registry = { } self . extensions = { } self . default_protocol = 'file' for extension in extensions : self . add ( extension ) self . _discover ( )
A registry that stores extensions to open and parse Target URIs

        :param extensions: A list of extensions.
        :type extensions: yamlsettings.extensions.base.YamlSettingsExtension