# Path: depends/docker-registry-core/docker_registry/core/exceptions.py
# class NotImplementedError(UsageError):
# 
#     """The requested feature is not supported / not implemented."""


import functools
import logging
import pkgutil
import urllib
import docker_registry.drivers
from .compat import json
from .exceptions import NotImplementedError

        Get a URL to which client can be redirected to get the content from
        the path. Return None if not supported by this engine.

        Note, this feature will only be used if the `storage_redirect`
        configuration key is set to `True`.
        """
        return None

    def get_json(self, path):
        return json.loads(self.get_unicode(path))

    def put_json(self, path, content):
        return self.put_unicode(path, json.dumps(content))

    def get_unicode(self, path):
        return self.get_bytes(path).decode('utf8')

    def put_unicode(self, path, content):
        return self.put_bytes(path, content.encode('utf8'))

    def get_bytes(self, path):
        return self.get_content(path)

    def put_bytes(self, path, content):
        return self.put_content(path, content)

    def get_content(self, path):
        """Method to get content
        """

# Path: depends/docker-registry-core/docker_registry/core/exceptions.py
# class NotImplementedError(UsageError):
# 
#     """The requested feature is not supported / not implemented."""


# Path: depends/docker-registry-core/docker_registry/core/driver.py
import functools
import logging
import pkgutil
import urllib
import docker_registry.drivers
from .compat import json
from .exceptions import NotImplementedError


        Get a URL to which client can be redirected to get the content from
        the path. Return None if not supported by this engine.

        Note, this feature will only be used if the `storage_redirect`
        configuration key is set to `True`.
        """
        return None

    def get_json(self, path):
        return json.loads(self.get_unicode(path))

    def put_json(self, path, content):
        return self.put_unicode(path, json.dumps(content))

    def get_unicode(self, path):
        return self.get_bytes(path).decode('utf8')

    def put_unicode(self, path, content):
        return self.put_bytes(path, content.encode('utf8'))

    def get_bytes(self, path):
        return self.get_content(path)

    def put_bytes(self, path, content):
        return self.put_content(path, content)

    def get_content(self, path):
        """Method to get content
        """

        raise NotImplementedError(