Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

elasticsearch.helpers.bulk doesn't work #51

Open
Dobatymo opened this issue Dec 22, 2020 · 0 comments
Open

elasticsearch.helpers.bulk doesn't work #51

Dobatymo opened this issue Dec 22, 2020 · 0 comments

Comments

@Dobatymo
Copy link

Dobatymo commented Dec 22, 2020

Using Python 3.7, elasticsearch==7.10.0 and ElasticMock==1.6.2

Relevant part of the traceback

  File "__main__", line 189, in fit_iter
    elasticsearch.helpers.bulk(es, it)
  File "C:\Python37\lib\site-packages\elasticsearch\helpers\actions.py", line 390, in bulk
    for ok, item in streaming_bulk(client, actions, *args, **kwargs):
  File "C:\Python37\lib\site-packages\elasticsearch\helpers\actions.py", line 302, in streaming_bulk
    actions, chunk_size, max_chunk_bytes, client.transport.serializer
AttributeError: 'FakeElasticsearch' object has no attribute 'transport'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant