Commit Graph
38 Commits
Author SHA1 Message Date
Seth Michael LarsonandGitHub b13c7c6217 [7.x] Switch to long Apache-2.0 license header 2020-07-02 13:15:25 -05:00
Seth Michael LarsonandSeth Michael Larson bed5ffc740 [7.x] Update API generator for async 2020-05-21 11:36:21 -05:00
Seth Michael LarsonandSeth Michael Larson 8e1798cf31 Apply license header changes and API gen 2020-04-23 14:10:49 -05:00
Seth Michael LarsonandGitHub 06521cf006 [7.x] Allow for passing params=None or headers=None 2020-04-20 12:54:05 -05:00
Seth Michael LarsonandGitHub 1915592363 [7.x] Allow bytestring for bulk body 2020-04-08 10:49:22 -05:00
Seth Michael LarsonandGitHub 9219c92779 [7.x] Add support for X-Opaque-Id 2020-03-11 16:33:15 -05:00
Seth Michael LarsonandSeth Michael Larson 210fae23d0 Run Black+Flake8 on project 2020-03-09 13:54:47 -05:00
Honza Král 415f744b01 Move _bulk_body to client.utils 2020-01-19 00:01:36 +00:00
Chris BandHonza Král f1df7ae604 Fix for 7.4 encoding change 2019-11-06 17:02:02 +01:00
Evgeni EnchevandNick Lang f47145ada6 Fix typo in utils.py docs (#927)
nad --> and
2019-04-09 14:40:02 -06:00
Nick LangandGitHub 1afceba69b update to ES 7 (#911)
* update to ES 7

* more updates to make tests run

* update the test matrix

* remove python 3.3

* update xpack apis

* relative imports
2019-03-29 09:25:23 -06:00
broono 12be146e45 Fix: AttributeError: 'bytes' object has no attribute 'encode'(PY3) 2017-10-09 13:47:36 +08:00
Nick Lang a5b228a26d better handling of bytestrings in _escape
Fixes #627
2017-08-08 12:50:04 -06:00
Honza Král a180459d69 Update API parameters to 5.x 2017-02-08 21:07:29 +01:00
Honza Král f38fa51fea When user is passing params we need to make a copy
Fixes #517
2017-01-17 03:10:50 +01:00
Honza Král c855adc6e6 None for parameter value should cause that param to be ignored
Fixes #375
2016-08-16 20:46:04 +02:00
Honza Král 799918712f Added missing params to methods 2015-06-09 19:21:31 +02:00
Honza Král 12ded2b841 Added a class to addon clients to add more namespaces 2015-05-02 16:41:53 +02:00
Honza Král 5173d5b741 Check required parameters for empty values.
Fixes #138, thanks robhudson!
2014-12-02 00:13:01 +01:00
Honza Král 3a79457250 Do not escape the global request_timeout param
Thanks EyePulp for the report!
2014-07-04 16:50:48 +02:00
Honza Král c112399631 Allow for global parameter to set per-request timeout
Fixes #100, thanks portante!
2014-07-02 15:56:57 +02:00
Honza Král 38ae1bd3c3 Fix repr tests and url quoting in bytes/strings 2014-05-29 02:42:59 +02:00
Honza Král 756a6aee25 unicode_literals ftw 2014-05-29 01:16:17 +02:00
Honza Král a54d7035bb Compatibility with python 3.2
Now all the python 2/3 compatibility code is in elasticsearch.compat
Fixes #52
2014-02-21 16:59:13 +01:00
Honza Král 6bb9807e8f Format is another parameter accepted by all APIs 2014-01-20 18:55:40 +01:00
Honza Kral 4f890ff89c preserve ',' and '*' in url for nicer URLs in logs 2013-09-30 19:20:50 +02:00
Honza Kral a238144bc6 Lists can only contain strings in es api, also broke py3
This reverts commit 7eb4949641.
2013-09-30 19:15:03 +02:00
Honza Kral 7eb4949641 Make sure we encode even values in lists 2013-09-30 17:38:37 +02:00
Honza Kral 672fdf7d5f Make ignore a global parameter 2013-09-25 23:09:50 +02:00
Honza Kral dfc8076a91 Better escaping or url and query params 2013-08-08 18:06:25 +02:00
Honza Kral 7ebdb612b1 Make sure we encode boolean query params properly 2013-08-07 01:35:11 +02:00
Honza Kral 71fe50b347 Move comment to it's proper place 2013-07-24 03:33:28 +02:00
Honza Kral 5aa6c86895 Make sure we don't blow up on utf-8 str on py2 2013-07-14 15:51:04 +02:00
Honza Kral ab7d12e5de Encode URL params properly into utf-8 2013-07-14 15:36:49 +02:00
Honza Kral 1c0b5da661 Proper escaping of query params 2013-07-10 16:48:57 +02:00
Honza Kral da68a5d986 Make sure we deal with lists and tuples in query_params 2013-07-10 14:32:10 +02:00
Honza Kral 170b9c6709 Make sure to serialize numbers in url properly 2013-07-10 14:07:01 +02:00
Honza Kral 3b0cc85f96 Split client into multiple files 2013-06-16 16:28:51 +02:00