Commit Graph
1628 Commits
Author SHA1 Message Date
Daniel (dB.) DoubrovkineandGitHub 0ccd4173cc Upgrade to aiohttp 3.10.6. (#829)
Signed-off-by: dblock <[email protected]>
2024-09-26 10:52:19 -07:00
CorneeSeanandGitHub 3087686fff Collapse support added to AsyncSearch helper (#769) (#827)
Signed-off-by: Radoslaw Kuczynski <[email protected]>
2024-09-26 08:20:25 -04:00
Daniel (dB.) DoubrovkineandGitHub 45d817289a Update dev guide, lock aiohttp to a version that works. (#828)
* Update developer guide with test setup instructions using OpenSearch 2.12+.

Signed-off-by: dblock <[email protected]>

* Lock down aiohttp to <= 3.10.5.

Signed-off-by: dblock <[email protected]>

* Exclude failing integ test.

Signed-off-by: dblock <[email protected]>

---------

Signed-off-by: dblock <[email protected]>
2024-09-25 14:47:22 -07:00
Daniel (dB.) DoubrovkineandGitHub a24b9f3f3c Fix: generator adds new namespace. (#813)
Signed-off-by: dblock <[email protected]>
2024-08-28 10:07:50 -07:00
borisevich-a-vandGitHub cd68b03157 Fixed timeout argument in Transport (#810)
* Fixed timeout argument in Transport

Signed-off-by: borisevich-a-v <[email protected]>

* Fixed ignore argument in perform request in Transport and AsyncTransport

Signed-off-by: borisevich-a-v <[email protected]>

* Apply black and isort

Signed-off-by: borisevich-a-v <[email protected]>

* Add info into CHANGELOG.md

Signed-off-by: borisevich-a-v <[email protected]>

---------

Signed-off-by: borisevich-a-v <[email protected]>
2024-08-27 06:20:52 -04:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>dependabot[bot] <dependabot[bot]@users.noreply.github.com>
aabac84c24 Update pytest-asyncio requirement from <=0.23.8 to <=0.24.0 (#812)
* Update pytest-asyncio requirement from <=0.23.8 to <=0.24.0

Updates the requirements on [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.1.1...v0.24.0)

---
updated-dependencies:
- dependency-name: pytest-asyncio
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2024-08-26 11:18:14 -04:00
Daniel (dB.) DoubrovkineandGitHub 717122455b Preparing for next developer iteration, 2.7.2. (#807)
Signed-off-by: dblock <[email protected]>
2024-08-22 09:12:37 -07:00
Daniel (dB.) DoubrovkineandGitHub d54aab4eda Preparing for 2.7.1 release. (#805)
Signed-off-by: dblock <[email protected]>
2024-08-22 11:36:19 -04:00
Jeppe Fihl-PearsonandGitHub e26f3fc28c Add override for code generator to change indices.put_alias argument order (#804)
* Add currently-failing test to validate the original argument order

Signed-off-by: Jeppe Fihl-Pearson <[email protected]>

* Add workaround for breaking API change inadvertently added in v2.7.0

Signed-off-by: Jeppe Fihl-Pearson <[email protected]>

* Generate new version of the client code with the correct argument order

Signed-off-by: Jeppe Fihl-Pearson <[email protected]>

---------

Signed-off-by: Jeppe Fihl-Pearson <[email protected]>
2024-08-22 08:33:55 -04:00
Daniel (dB.) DoubrovkineandGitHub b994dc4063 Preparing for next developer iteration, 2.7.1. (#802)
Signed-off-by: dblock <[email protected]>
2024-08-20 09:47:02 -07:00
Daniel (dB.) DoubrovkineandGitHub dbc11371db Prepare for release, 2.7.0. (#799)
* Prepare for release, 2.7.0.

Signed-off-by: dblock <[email protected]>

* Remove references to Jenkins.

Signed-off-by: dblock <[email protected]>

* Update compatibility matrix.

Signed-off-by: dblock <[email protected]>

---------

Signed-off-by: dblock <[email protected]>
2024-08-20 08:33:35 -07:00
Daniel (dB.) DoubrovkineandGitHub 6382c1570c Fix integration tests with unreleased versions of OpenSearch. (#798)
Signed-off-by: dblock <[email protected]>
2024-08-15 08:21:11 -07:00
377a7f41d1 Finished guide for working with snapshots. (#796)
* Added guide for snapshot API.

Signed-off-by: dblock <[email protected]>

* Added instructions for running sample.

Signed-off-by: dblock <[email protected]>

---------

Signed-off-by: dblock <[email protected]>
Co-authored-by: roma2023 <[email protected]>
2024-08-15 07:52:20 -07:00
def00facfb Added support for the bucket aggregation. (#797)
Signed-off-by: dblock <[email protected]>
Co-authored-by: mckirk <[email protected]>
2024-08-15 07:49:58 -07:00
be56ae82b8 fix: retry_on_conflicts is not bool (#795)
Signed-off-by: dblock <[email protected]>
Co-authored-by: Patrick Rice <[email protected]>
2024-08-15 10:34:37 -04:00
55f9940d51 Remove HEAD-handling hack. (#794)
* remove HEAD -> GET workaround

Signed-off-by: dblock <[email protected]>

* Removed remaining HEAD-handling code.

Signed-off-by: dblock <[email protected]>

* Fixed remaining references to admin:admin.

Signed-off-by: dblock <[email protected]>

---------

Signed-off-by: dblock <[email protected]>
Co-authored-by: Vincent Castaneda <[email protected]>
2024-08-15 10:15:13 -04:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>dependabot[bot] <dependabot[bot]@users.noreply.github.com>
19a911387c Update sphinx requirement from <7.5 to <8.1 (#791)
* Update sphinx requirement from <7.5 to <8.1

Updates the requirements on [sphinx](https://github.com/sphinx-doc/sphinx) to permit the latest version.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/v8.0.2/CHANGES.rst)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v0.1.61611...v8.0.2)

---
updated-dependencies:
- dependency-name: sphinx
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2024-08-14 20:08:10 -04:00
Daniel (dB.) DoubrovkineandGitHub 2d6ae74211 Updated dependencies, generated API. (#793)
* Updated dependencies.

Signed-off-by: dblock <[email protected]>

* Lock setuptools at 71.1.0.

Newer version seems to cause UserWarning: Unknown distribution option: 'test_suite'.

Signed-off-by: dblock <[email protected]>

* Updated opensearch-py APIs to reflect opensearch-api-specification@9d3bc34.

Signed-off-by: dblock <[email protected]>

* Do not test against flaky 2.0.

Signed-off-by: dblock <[email protected]>

* Reduce test matrix and add 2.16.

Signed-off-by: dblock <[email protected]>

* Fix missing spaces in generated descriptions.

Signed-off-by: dblock <[email protected]>

* Removed 2.2.1.

Signed-off-by: dblock <[email protected]>

---------

Signed-off-by: dblock <[email protected]>
2024-08-14 15:25:01 -07:00
RaphaelandGitHub 581cbbaf10 Fix spell typos and missing whitespace (#789) 2024-07-31 22:23:35 -04:00
Godefroy Amaury de MalefèteandGitHub a68e8b7daf Allow the use of percent string in Bool.__and__ method (#780)
Signed-off-by: Godefroy Amaury de Malefète <[email protected]>
2024-07-25 13:46:50 -04:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>dependabot[bot] <dependabot[bot]@users.noreply.github.com>
a029343fb5 Update sphinx requirement from <7.4 to <7.5 (#788)
* Update sphinx requirement from <7.4 to <7.5

Updates the requirements on [sphinx](https://github.com/sphinx-doc/sphinx) to permit the latest version.
- [Release notes](https://github.com/sphinx-doc/sphinx/releases)
- [Changelog](https://github.com/sphinx-doc/sphinx/blob/master/CHANGES.rst)
- [Commits](https://github.com/sphinx-doc/sphinx/compare/v0.1.61611...v7.4.7)

---
updated-dependencies:
- dependency-name: sphinx
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2024-07-22 10:40:24 -04:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>dependabot[bot] <dependabot[bot]@users.noreply.github.com>
68f5e654ee Update pytest-asyncio requirement from <=0.23.7 to <=0.23.8 (#787)
* Update pytest-asyncio requirement from <=0.23.7 to <=0.23.8

Updates the requirements on [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.1.1...v0.23.8)

---
updated-dependencies:
- dependency-name: pytest-asyncio
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2024-07-22 10:30:09 -04:00
Hugo van KemenadeandGitHub e3005b8cff Bump GitHub Actions (#786)
Signed-off-by: Hugo van Kemenade <[email protected]>
2024-07-20 16:20:43 -04:00
Hugo van KemenadeandGitHub 6e3f1a1194 Remove redundant mock backport dependency and upgrade syntax for Python 3.8+ (#785)
* Upgrade syntax with pyupgrade --py38-plus

Signed-off-by: Hugo van Kemenade <[email protected]>

* Convert to f-strings with flynt

Signed-off-by: Hugo van Kemenade <[email protected]>

* Format with Black

Signed-off-by: Hugo van Kemenade <[email protected]>

* Remove redundant mock backport dependency

Signed-off-by: Hugo van Kemenade <[email protected]>

* isort imports

Signed-off-by: Hugo van Kemenade <[email protected]>

* Add changelog entry

Signed-off-by: Hugo van Kemenade <[email protected]>

---------

Signed-off-by: Hugo van Kemenade <[email protected]>
2024-07-20 16:19:20 -04:00
Hugo van KemenadeandGitHub de96d28e45 Remove redundant six dependency (#781)
* Don't create universal wheel for Python 3 only

Signed-off-by: Hugo van Kemenade <[email protected]>

* Update Black target version to match min Python supported

Signed-off-by: Hugo van Kemenade <[email protected]>

* Upgrade files using six to Python 3 syntax

Signed-off-by: Hugo van Kemenade <[email protected]>

* Remove redundant six dependency

Signed-off-by: Hugo van Kemenade <[email protected]>

* Format with Black

Signed-off-by: Hugo van Kemenade <[email protected]>

* Add changelog entry

Signed-off-by: Hugo van Kemenade <[email protected]>

---------

Signed-off-by: Hugo van Kemenade <[email protected]>
2024-07-20 12:30:37 -04:00
Daniel (dB.) DoubrovkineandGitHub 1ef788a55a Skip elements with titles. (#777)
* Skip elements with titles.

Signed-off-by: dblock <[email protected]>

* Simplify and just skip by ref.

Signed-off-by: dblock <[email protected]>

* Re-generate API spec.

Signed-off-by: dblock <[email protected]>

* Do not skip alias tests.

Signed-off-by: dblock <[email protected]>

* Actually skip node_id_or_metric.

Signed-off-by: dblock <[email protected]>

---------

Signed-off-by: dblock <[email protected]>
2024-07-18 13:24:38 -07:00
Daniel (dB.) DoubrovkineandGitHub 04b870d68a Skip put_aliases tests that don't require both index and alias parameters. (#778)
Signed-off-by: dblock <[email protected]>
2024-07-18 08:44:41 -07:00
ea0a718754 Updated opensearch-py to reflect the latest OpenSearch API spec (2024-07-15) (#775)
Signed-off-by: GitHub <[email protected]>
Co-authored-by: saimedhi <[email protected]>
2024-07-15 08:30:16 -04:00
Keith RozarioandGitHub a380e7083f Update guides-bulk example (#774)
Fixed examples to make them working python code. (missing commas and quotes.

Signed-off-by: Keith Rozario <[email protected]>
2024-07-14 10:27:35 -04:00
04a2350ba0 Updated opensearch-py to reflect the latest OpenSearch API spec (2024-07-12) (#773)
Signed-off-by: GitHub <[email protected]>
Co-authored-by: saimedhi <[email protected]>
2024-07-11 22:33:22 -07:00
Patrick O'ConnorandGitHub 9ee0b23c63 rc corrected to response (#772)
* rc corrected to response

There seems to be a mistype in the code. I believe it's meant to say response

Signed-off-by: Patrick O'Connor <[email protected]>

* Corrected line 33

Signed-off-by: Patrick O'Connor <[email protected]>

---------

Signed-off-by: Patrick O'Connor <[email protected]>
2024-07-11 22:30:44 -07:00
VatsalandGitHub f0bce7cf33 Fixed issue 769:Collapse not preserved when chaining a search instance (#771)
* Fixed issue 769:Collapse not preserved when chaining a search instance

Signed-off-by: vatsal <[email protected]>

* Fixed issue 769:Collapse not preserved when chaining a search instance

Signed-off-by: vatsal <[email protected]>

* Fixed issue 769:Collapse not preserved when chaining a search instance

Signed-off-by: vatsal <[email protected]>

* Fixed issue 769:Collapse not preserved when chaining a search instance

Signed-off-by: vatsal <[email protected]>

* Fixed issue 769:Collapse not preserved when chaining a search instance

Signed-off-by: vatsal <[email protected]>

---------

Signed-off-by: vatsal <[email protected]>
2024-07-09 09:39:19 -07:00
cef3cd5b1c Updated opensearch-py to reflect the latest OpenSearch API spec (2024-06-24) (#767)
Signed-off-by: GitHub <[email protected]>
Co-authored-by: saimedhi <[email protected]>
2024-06-24 09:18:43 -07:00
d39280759b Updated opensearch-py to reflect the latest OpenSearch API spec (2024-06-20) (#766)
Signed-off-by: GitHub <[email protected]>
Co-authored-by: saimedhi <[email protected]>
2024-06-19 22:10:00 -07:00
Sai Medhini Reddy MaryadaandGitHub b0ca0f8625 Updated compatibility matrix to include latest OpenSearch versions (#765)
Signed-off-by: saimedhi <[email protected]>
2024-06-18 14:56:55 -04:00
Derek HoandGitHub d3177a8bcb Pass in initial admin password and remove admin:admin references (#631)
* Update to pass in initial admin password

Signed-off-by: Derek Ho <[email protected]>

* Add changelog and logic to distinguish between versions

Signed-off-by: Derek Ho <[email protected]>

* fix syntax

Signed-off-by: Derek Ho <[email protected]>

* Revert tests

Signed-off-by: Derek Ho <[email protected]>

* Add 2.12 to the matrix and fix testing logic

Signed-off-by: Derek Ho <[email protected]>

* Fix version logic

Signed-off-by: Derek Ho <[email protected]>

* Try to split job into two batches

Signed-off-by: Derek Ho <[email protected]>

* Fix lint

Signed-off-by: Derek Ho <[email protected]>

* Change name

Signed-off-by: Derek Ho <[email protected]>

* Remove period

Signed-off-by: Derek Ho <[email protected]>

* Pull password dynamically

Signed-off-by: Derek Ho <[email protected]>

* Change to proper env var

Signed-off-by: Derek Ho <[email protected]>

* Try passing through

Signed-off-by: Derek Ho <[email protected]>

---------

Signed-off-by: Derek Ho <[email protected]>
Signed-off-by: Derek Ho <[email protected]>
2024-06-18 11:44:21 -04:00
Krishna babuandGitHub a1d27ca077 BUG FIX #538 (#760) 2024-06-18 10:59:29 -04:00
f7cac3033d Updated opensearch-py to reflect the latest OpenSearch API spec (2024-06-17) (#763)
Signed-off-by: GitHub <[email protected]>
Co-authored-by: saimedhi <[email protected]>
2024-06-17 15:33:14 -07:00
Sai Medhini Reddy MaryadaandGitHub 1739a988d3 Removed deprecated numpy.float_ and update NumPy/Pandas imports (#762)
Signed-off-by: saimedhi <[email protected]>
2024-06-17 15:19:13 -07:00
Daniel (dB.) DoubrovkineandGitHub 87e531b943 Changed URL for API spec. (#757)
Signed-off-by: dblock <[email protected]>
2024-06-12 21:48:29 -07:00
Sai Medhini Reddy MaryadaandGitHub 1ccc1bcf95 Reduce required approvers for release from 2 to 1 (#755)
Signed-off-by: saimedhi <[email protected]>
2024-05-28 16:10:54 -04:00
Sai Medhini Reddy MaryadaandGitHub 188b6561e7 Bump version to 2.6.0 (#752)
Signed-off-by: saimedhi <[email protected]>
2024-05-24 09:16:19 -07:00
Sai Medhini Reddy MaryadaandGitHub 343690ad63 Bumps aiohttp from >=3.9.2,<4 to >=3.9.4,<4 (#751)
Signed-off-by: saimedhi <[email protected]>
2024-05-22 16:56:39 -04:00
ee21471c13 Updated opensearch-py to reflect the latest OpenSearch API spec (2024-05-22) (#749)
Signed-off-by: GitHub <[email protected]>
Co-authored-by: saimedhi <[email protected]>
2024-05-22 08:30:08 -07:00
5b40a85f9a Updated opensearch-py to reflect the latest OpenSearch API spec (2024-05-21) (#747)
Signed-off-by: GitHub <[email protected]>
Co-authored-by: saimedhi <[email protected]>
2024-05-20 20:53:47 -07:00
dependabot[bot]GitHubdependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>dependabot[bot] <dependabot[bot]@users.noreply.github.com>
77313d2dfe Update pytest-asyncio requirement from <=0.23.6 to <=0.23.7 (#748)
* Update pytest-asyncio requirement from <=0.23.6 to <=0.23.7

Updates the requirements on [pytest-asyncio](https://github.com/pytest-dev/pytest-asyncio) to permit the latest version.
- [Release notes](https://github.com/pytest-dev/pytest-asyncio/releases)
- [Commits](https://github.com/pytest-dev/pytest-asyncio/compare/v0.1.1...v0.23.7)

---
updated-dependencies:
- dependency-name: pytest-asyncio
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2024-05-20 11:07:32 -04:00
72173c3fb0 Updated opensearch-py to reflect the latest OpenSearch API spec (2024-05-15) (#742)
Signed-off-by: GitHub <[email protected]>
Co-authored-by: saimedhi <[email protected]>
2024-05-15 09:55:45 -07:00
Varun LodayaandGitHub 243b509fb6 Updating security reachout email (#743)
Signed-off-by: Varun Lodaya <[email protected]>
2024-05-14 07:25:15 -04:00
1bf403c0f2 Updated opensearch-py to reflect the latest OpenSearch API spec (2024-05-10) (#741)
Signed-off-by: GitHub <[email protected]>
Co-authored-by: saimedhi <[email protected]>
2024-05-10 10:44:19 -07:00
Sai Medhini Reddy MaryadaandGitHub 9a67bbfd16 fixed generator (#738)
Signed-off-by: saimedhi <[email protected]>
2024-05-01 16:59:17 -04:00