def list(cls, path):
        """Return a list containing the names of the entries in the directory
        given by path. The list is in arbitrary order.
        """
        import azure
        from azure import storage as azure_storage
        output = []
        path_info = cls.parse_remote(path)
        blob_service = azure_storage.BlobService(path_info.storage)
        try:
            blob_enum = blob_service.list_blobs(path_info.container)
        except azure.WindowsAzureMissingResourceError:
            return output

        for item in blob_enum:
            output.append(cls._BLOB_FILE.format(storage=path_info.storage,
                                                container=path_info.container,
                                                blob=item.name))
        return output
def list ( cls , path ) : import azure from azure import storage as azure_storage output = [ ] path_info = cls . parse_remote ( path ) blob_service = azure_storage . BlobService ( path_info . storage ) try : blob_enum = blob_service . list_blobs ( path_info . container ) except azure . WindowsAzureMissingResourceError : return output for item in blob_enum : output . append ( cls . _BLOB_FILE . format ( storage = path_info . storage , container = path_info . container , blob = item . name ) ) return output
Return a list containing the names of the entries in the directory
        given by path. The list is in arbitrary order.