code: def get_container(self, path):
          
          if not settings.container_permitted(path):
              raise errors.NotPermittedException(
                  "Access to container \"%s\" is not permitted." % path)
          return self._get_container(path)
docs: Return single container.