got an unexpected keyword argument 'data_only'
See original GitHub issueI use elasticsearch-dsl == 6.2.1
{
"name" : "67G84Xb",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "C4Q4oVYHTIyTWtpUyUP_lA",
"version" : {
"number" : "6.2.4",
"build_hash" : "ccec39f",
"build_date" : "2018-04-12T20:37:28.497551Z",
"build_snapshot" : false,
"lucene_version" : "7.2.1",
"minimum_wire_compatibility_version" : "5.6.0",
"minimum_index_compatibility_version" : "5.0.0"
},
"tagline" : "You Know, for Search"
}
Got error:
File "/elasticsearch_dsl/field.py", line 163, in _wrap
return self._doc_class.from_es(data, data_only=True)
TypeError: from_es() got an unexpected keyword argument 'data_only'
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
TypeError: _open() got an unexpected keyword argument ...
I've had this error before. The TLDR is that you can't assume all of your data is clean and able to be parsed....
Read more >TypeError: __init__() got an unexpected keyword argument 'id ...
Reading the file case.xlsx with from openpyxl import load_workbook...
Read more >How to debug task "got an unexpected keyword argument"
I wondering if someone might have a bright idea how I can debug the following error, which get periodically in production. I've searched...
Read more >PyMC error: TypeError: dict_to_dataset() got an unexpected ...
... 459 dims=self.dims, --> 460 default_dims=[], 461 ) 462 TypeError: dict_to_dataset() got an unexpected keyword argument 'default_dims'.
Read more >Failed to test real-time endpoint request() got an unexpected ...
Failed to test real-time endpoint request() got an unexpected keyword argument 'tenant_id' · KVUri = f"<<endpoint url here>>" · credential = ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Problem is that
PriceCondition
cannot extendDocType
but must be extendingInnerDoc
.I will make a note to fix it so that it won’t break but for now just change its base fromBaseDocType
toInnerDoc
and it should help.I’m having similar issue, with
elasticsearch==6.3.1 elasticsearch-dsl==6.3.1
I guess the problem is
Nested(ReviewMetaSearchClickLogDoc, include_in_parent=True)
, why is it a problametic, and how can I fix it?