Fix async helpers import cycle (#311)
* Import async helpers through public interface in tests Signed-off-by: Roger Aiudi <[email protected]> * Removed unused import of AsyncOpenSearch in async helpers that was causing an import cycle (fixes #310) Signed-off-by: Roger Aiudi <[email protected]> * Update CHANGELOG.md Signed-off-by: Roger Aiudi <[email protected]> * Change 2.2.1 in the changelog to Unreleased Signed-off-by: Roger Aiudi <[email protected]> * Separated changelog entries for 2.2.0 from 2.1.1 Signed-off-by: Roger Aiudi <[email protected]> --------- Signed-off-by: Roger Aiudi <[email protected]>
This commit is contained in:
@@ -34,8 +34,7 @@ import asyncio
|
||||
import pytest
|
||||
from mock import MagicMock, patch
|
||||
|
||||
from opensearchpy import TransportError
|
||||
from opensearchpy._async import helpers
|
||||
from opensearchpy import TransportError, helpers
|
||||
from opensearchpy.helpers import BulkIndexError, ScanError
|
||||
|
||||
pytestmark = pytest.mark.asyncio
|
||||
|
||||
Reference in New Issue
Block a user