1650 Commits

Author SHA1 Message Date
Daniel (dB.) Doubrovkine 1a18e589df Updated affiliation for @dblock. (#894)
Tests / test (os=ubuntu-latest, python=3.9) (push) Has been cancelled
Tests / test (os=windows-latest, python=3.11) (push) Has been cancelled
Tests / test (os=windows-latest, python=3.12) (push) Has been cancelled
CI / lint (push) Has been cancelled
CI / generate (push) Has been cancelled
CI / test-build-distribution (push) Has been cancelled
CI / twine-check (push) Has been cancelled
Integration Tests / Integ-pre-212 (1.0.1, false) (push) Has been cancelled
Integration Tests / Integ-pre-212 (1.0.1, true) (push) Has been cancelled
Build & Deploy Docs / build-and-deploy (push) Has been cancelled
Integration with Unreleased OpenSearch / test (map[branch:1.x java-version:11]) (push) Has been cancelled
Integration with Unreleased OpenSearch / test (map[branch:2.x java-version:17]) (push) Has been cancelled
Integration with Unreleased OpenSearch / test (map[branch:main java-version:17]) (push) Has been cancelled
Link Checker / linkchecker (push) Has been cancelled
Unified Release / Assemble (2.8.1) (push) Has been cancelled
Integration Tests / Integ-pre-212 (1.3.7, false) (push) Has been cancelled
Integration Tests / Integ-pre-212 (1.3.7, true) (push) Has been cancelled
Integration Tests / Integ-post-212 (2.14.0, false) (push) Has been cancelled
Integration Tests / Integ-post-212 (2.14.0, true) (push) Has been cancelled
Integration Tests / Integ-post-212 (2.16.0, false) (push) Has been cancelled
Integration Tests / Integ-post-212 (2.16.0, true) (push) Has been cancelled
Tests / test (os=macos-latest, python=3.11) (push) Has been cancelled
Tests / test (os=macos-latest, python=3.12) (push) Has been cancelled
Tests / test (os=ubuntu-latest, python=3.10) (push) Has been cancelled
Tests / test (os=ubuntu-latest, python=3.11) (push) Has been cancelled
Tests / test (os=ubuntu-latest, python=3.12) (push) Has been cancelled
Tests / test (os=ubuntu-latest, python=3.8) (push) Has been cancelled
Signed-off-by: Daniel (dB.) Doubrovkine <dblock@dblock.org>
2025-04-23 04:52:40 -07:00
Mauricio Scheffer 6ab1a7f652 Fix PIT example in search.md (#869)
Signed-off-by: Mauricio Scheffer <mauricioscheffer@gmail.com>
2025-03-17 18:01:01 -04:00
dependabot[bot] 7336f51aa0 Update pytest-asyncio requirement from <=0.24.0 to <=0.25.1 (#881)
* Update pytest-asyncio requirement from <=0.24.0 to <=0.25.1

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.25.1)

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

Signed-off-by: dependabot[bot] <support@github.com>

* Update changelog

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2025-01-09 17:04:47 -05:00
Harshil Jani 4cdf81e741 Added new test case for bulk delete with single item (#878)
Signed-off-by: Harshil Jani <harshiljani2002@gmail.com>
2024-12-29 07:57:01 -05:00
Oleksandr Loyko 4091816f84 Fixed lint error. (#875)
Signed-off-by: Alex Loyko <alex.loyko96@gmail.com>
2024-12-21 08:39:12 -05:00
Oleksandr Loyko 9777ebe4f8 Fixed double-writes. (#874)
* Fixed file-overwrites on generation.

Signed-off-by: Alex Loyko <alex.loyko96@gmail.com>

* Fixed CHANGELOG

Signed-off-by: Alex Loyko <alex.loyko96@gmail.com>

* fixing test and lint

Signed-off-by: Alex Loyko <alex.loyko96@gmail.com>

* Addressed comments.

Signed-off-by: Alex Loyko <alex.loyko96@gmail.com>

---------

Signed-off-by: Alex Loyko <alex.loyko96@gmail.com>
2024-12-20 14:06:06 -05:00
Bruno Murino 7815c6abe8 Small refactor of AWS Signer classes for both sync and async clients (#866)
* made custom headers be available to async aws signer

Signed-off-by: Bruno Murino <brunomurino@users.noreply.github.com>

* updated changelog

Signed-off-by: Bruno Murino <brunomurino@users.noreply.github.com>

* added tests for using host header for AWS request signature on both sync and async clients

Signed-off-by: Bruno Murino <brunomurino@users.noreply.github.com>

* added documentation guide about aws auth when accessing via tunnel

Signed-off-by: Bruno Murino <brunomurino@users.noreply.github.com>

* small refactor of AWS Signer classes on sync and async clients; improved testing on them as well

Signed-off-by: Bruno Murino <brunomurino@users.noreply.github.com>

* changelog

Signed-off-by: Bruno Murino <brunomurino@users.noreply.github.com>

* fixed test

Signed-off-by: Bruno Murino <brunomurino@users.noreply.github.com>

* lint fix

Signed-off-by: Bruno Murino <brunomurino@users.noreply.github.com>

---------

Signed-off-by: Bruno Murino <brunomurino@users.noreply.github.com>
2024-12-03 08:13:50 -05:00
nathaliellenaa 87aebcd653 Added a support for search (search_after parameter) (#859)
* Added a sample that uses search_after parameter

Signed-off-by: Nathalie Jonathan <nathhjo@amazon.com>

* Moved search_after sample to samples/search folder, updated CHANGELOG and _sync sample, and added _async sample.

Signed-off-by: Nathalie Jonathan <nathhjo@amazon.com>

* Solved conflicts in CHANGELOG.md

Signed-off-by: Nathalie Jonathan <nathhjo@amazon.com>

---------

Signed-off-by: Nathalie Jonathan <nathhjo@amazon.com>
2024-12-02 17:14:01 -05:00
Bruno Murino 6f761abf5e made custom headers be available to async aws signer (#863)
* made custom headers be available to async aws signer

Signed-off-by: Bruno Murino <brunomurino@users.noreply.github.com>

* updated changelog

Signed-off-by: Bruno Murino <brunomurino@users.noreply.github.com>

* added tests for using host header for AWS request signature on both sync and async clients

Signed-off-by: Bruno Murino <brunomurino@users.noreply.github.com>

* added documentation guide about aws auth when accessing via tunnel

Signed-off-by: Bruno Murino <brunomurino@users.noreply.github.com>

---------

Signed-off-by: Bruno Murino <brunomurino@users.noreply.github.com>
2024-12-01 08:31:51 -05:00
Daniel (dB.) Doubrovkine 090e11eee8 Preparing for next developer iteration, 2.8.1. (#861)
Signed-off-by: dblock <dblock@amazon.com>
2024-11-29 13:15:17 -08:00
Daniel (dB.) Doubrovkine a74aab41ea Preparing for release, 2.8.0. (#858)
Signed-off-by: dblock <dblock@amazon.com>
2024-11-29 15:54:53 -05:00
opensearch-trigger-bot[bot] 9ba694e257 Updated opensearch-py to reflect the latest OpenSearch API spec (2024-11-29) (#854)
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: saimedhi <117196660+saimedhi@users.noreply.github.com>
2024-11-29 08:40:09 -05:00
Daniel (dB.) Doubrovkine 6c9d8f4350 Added async AWS sample. (#857)
Signed-off-by: dblock <dblock@amazon.com>
2024-11-28 08:06:50 -05:00
nathaliellenaa b9e48dc847 Fix AuthorizationException with AWSV4SignerAsyncAuth when the doc ID has special characters. (#848)
* Lifecycle integration tests.

Signed-off-by: dblock <dblock@amazon.com>

* Added a test that makes sure the slash is properly encoded.

Signed-off-by: dblock <dblock@amazon.com>

* Added more tests for signer and _make_path.

Signed-off-by: Nathalie Jonathan <nathhjo@amazon.com>

* Prevent AIOHttpConnection from encoding the url a second time.

Signed-off-by: Nathalie Jonathan <nathhjo@amazon.com>

---------

Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Nathalie Jonathan <nathhjo@amazon.com>
Co-authored-by: dblock <dblock@amazon.com>
2024-11-27 17:50:22 -05:00
Daniel (dB.) Doubrovkine bf9add4eed Fix /cluster/stats in a backwards compatible way (#851)
* Ran nox -s generate.

Signed-off-by: dblock <dblock@amazon.com>

* Fix: backwards compatible parameter order in cluster stats.

Signed-off-by: dblock <dblock@amazon.com>

* Moved Updated APIs section to the correct set.

Signed-off-by: dblock <dblock@amazon.com>

---------

Signed-off-by: dblock <dblock@amazon.com>
2024-11-25 14:54:03 -08:00
Merlin 12c379d32d Implement AsyncOpenSearch() parameter ssl_assert_hostname (#843)
* Implement AsyncOpenSearch() parameter `ssl_assert_hostname` to allow disabling SSL hostname verification

Signed-off-by: merlinz01 <158784988+merlinz01@users.noreply.github.com>

* Update PR link

Signed-off-by: merlinz01 <158784988+merlinz01@users.noreply.github.com>

* Add test

Signed-off-by: merlinz01 <158784988+merlinz01@users.noreply.github.com>

* Update docs

Signed-off-by: merlinz01 <158784988+merlinz01@users.noreply.github.com>

* Add test for default value

Signed-off-by: merlinz01 <158784988+merlinz01@users.noreply.github.com>

* Fix formatting

Signed-off-by: merlinz01 <158784988+merlinz01@users.noreply.github.com>

* Fix test failing on Python >3.12.7

Signed-off-by: merlinz01 <158784988+merlinz01@users.noreply.github.com>

* Fix formatting

Signed-off-by: merlinz01 <158784988+merlinz01@users.noreply.github.com>

---------

Signed-off-by: merlinz01 <158784988+merlinz01@users.noreply.github.com>
Signed-off-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
Co-authored-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
2024-11-16 08:29:10 -05:00
samypr100 1269cdc95a feat(AsyncOpenSearch): consistent pool_maxsize setting (#845)
Signed-off-by: samypr100 <3933065+samypr100@users.noreply.github.com>
2024-11-12 09:21:32 -05:00
Daniel (dB.) Doubrovkine 6fa54a719a Updated YAML REST tests known to fail. (#838)
Signed-off-by: dblock <dblock@amazon.com>
2024-10-24 16:38:00 -04:00
jiangying ad1048be8f fix proxy.md (#837)
* fix proxy.md

Signed-off-by: jiangying <krivergo3@gmail.com>

* Update proxy.md

Signed-off-by: jiangying <krivergo3@gmail.com>

---------

Signed-off-by: jiangying <krivergo3@gmail.com>
2024-10-23 13:58:08 -04:00
dependabot[bot] 9dd7bf7cb3 Update sphinx requirement from <8.1 to <8.2 (#832)
* Update sphinx requirement from <8.1 to <8.2

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...v8.1.3)

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

Signed-off-by: dependabot[bot] <support@github.com>

* Update changelog

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot[bot] <dependabot[bot]@users.noreply.github.com>
2024-10-14 11:28:20 -04:00
Daniel (dB.) Doubrovkine 44f712e3f0 Fix nox generate (#830)
* Fix: don't rely on a specific plugin for the test.

Signed-off-by: dblock <dblock@amazon.com>

* Ignore ISM.

Signed-off-by: dblock <dblock@amazon.com>

---------

Signed-off-by: dblock <dblock@amazon.com>
2024-09-27 11:14:17 -07:00
Étienne Beaulé 1b0440a33f Ignore name of index when fetching settings (#823)
This commit fixes a situation where an index cannot be updated through this client as the index is aliased, with the client pointing to the alias.

As the `GET /<index>/_settings` request will only ever return the settings for the specified index (through the alias), it would only have one key, so the name of the key would not matter. We can pop the key to get the settings object for the index through the alias.

Signed-off-by: Étienne Beaulé <beauleetienne0@gmail.com>
2024-09-26 14:02:13 -04:00
Daniel (dB.) Doubrovkine 0ccd4173cc Upgrade to aiohttp 3.10.6. (#829)
Signed-off-by: dblock <dblock@amazon.com>
2024-09-26 10:52:19 -07:00
CorneeSean 3087686fff Collapse support added to AsyncSearch helper (#769) (#827)
Signed-off-by: Radoslaw Kuczynski <radoslaw.kuczynski@infermedica.com>
2024-09-26 08:20:25 -04:00
Daniel (dB.) Doubrovkine 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 <dblock@amazon.com>

* Lock down aiohttp to <= 3.10.5.

Signed-off-by: dblock <dblock@amazon.com>

* Exclude failing integ test.

Signed-off-by: dblock <dblock@amazon.com>

---------

Signed-off-by: dblock <dblock@amazon.com>
2024-09-25 14:47:22 -07:00
Daniel (dB.) Doubrovkine a24b9f3f3c Fix: generator adds new namespace. (#813)
Signed-off-by: dblock <dblock@amazon.com>
2024-08-28 10:07:50 -07:00
borisevich-a-v cd68b03157 Fixed timeout argument in Transport (#810)
* Fixed timeout argument in Transport

Signed-off-by: borisevich-a-v <andreyborisevichleti@gmail.com>

* Fixed ignore argument in perform request in Transport and AsyncTransport

Signed-off-by: borisevich-a-v <andreyborisevichleti@gmail.com>

* Apply black and isort

Signed-off-by: borisevich-a-v <andreyborisevichleti@gmail.com>

* Add info into CHANGELOG.md

Signed-off-by: borisevich-a-v <andreyborisevichleti@gmail.com>

---------

Signed-off-by: borisevich-a-v <andreyborisevichleti@gmail.com>
2024-08-27 06:20:52 -04:00
dependabot[bot] 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] <support@github.com>

* Update changelog

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
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.) Doubrovkine 717122455b Preparing for next developer iteration, 2.7.2. (#807)
Signed-off-by: dblock <dblock@amazon.com>
2024-08-22 09:12:37 -07:00
Daniel (dB.) Doubrovkine d54aab4eda Preparing for 2.7.1 release. (#805)
Signed-off-by: dblock <dblock@amazon.com>
2024-08-22 11:36:19 -04:00
Jeppe Fihl-Pearson 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 <jeppe@memrise.com>

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

Signed-off-by: Jeppe Fihl-Pearson <jeppe@memrise.com>

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

Signed-off-by: Jeppe Fihl-Pearson <jeppe@memrise.com>

---------

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

Signed-off-by: dblock <dblock@amazon.com>

* Remove references to Jenkins.

Signed-off-by: dblock <dblock@amazon.com>

* Update compatibility matrix.

Signed-off-by: dblock <dblock@amazon.com>

---------

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

Signed-off-by: dblock <dblock@amazon.com>

* Added instructions for running sample.

Signed-off-by: dblock <dblock@amazon.com>

---------

Signed-off-by: dblock <dblock@amazon.com>
Co-authored-by: roma2023 <romasaparhan19@gmail.com>
2024-08-15 07:52:20 -07:00
Daniel (dB.) Doubrovkine def00facfb Added support for the bucket aggregation. (#797)
Signed-off-by: dblock <dblock@amazon.com>
Co-authored-by: mckirk <mckirk@posteo.de>
2024-08-15 07:49:58 -07:00
Daniel (dB.) Doubrovkine be56ae82b8 fix: retry_on_conflicts is not bool (#795)
Signed-off-by: dblock <dblock@amazon.com>
Co-authored-by: Patrick Rice <patrickrice20@gmail.com>
2024-08-15 10:34:37 -04:00
Daniel (dB.) Doubrovkine 55f9940d51 Remove HEAD-handling hack. (#794)
* remove HEAD -> GET workaround

Signed-off-by: dblock <dblock@amazon.com>

* Removed remaining HEAD-handling code.

Signed-off-by: dblock <dblock@amazon.com>

* Fixed remaining references to admin:admin.

Signed-off-by: dblock <dblock@amazon.com>

---------

Signed-off-by: dblock <dblock@amazon.com>
Co-authored-by: Vincent Castaneda <vincent.castaneda@sage.com>
2024-08-15 10:15:13 -04:00
dependabot[bot] 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] <support@github.com>

* Update changelog

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
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.) Doubrovkine 2d6ae74211 Updated dependencies, generated API. (#793)
* Updated dependencies.

Signed-off-by: dblock <dblock@amazon.com>

* Lock setuptools at 71.1.0.

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

Signed-off-by: dblock <dblock@amazon.com>

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

Signed-off-by: dblock <dblock@amazon.com>

* Do not test against flaky 2.0.

Signed-off-by: dblock <dblock@amazon.com>

* Reduce test matrix and add 2.16.

Signed-off-by: dblock <dblock@amazon.com>

* Fix missing spaces in generated descriptions.

Signed-off-by: dblock <dblock@amazon.com>

* Removed 2.2.1.

Signed-off-by: dblock <dblock@amazon.com>

---------

Signed-off-by: dblock <dblock@amazon.com>
2024-08-14 15:25:01 -07:00
Raphael 581cbbaf10 Fix spell typos and missing whitespace (#789) 2024-07-31 22:23:35 -04:00
Godefroy Amaury de Malefète a68e8b7daf Allow the use of percent string in Bool.__and__ method (#780)
Signed-off-by: Godefroy Amaury de Malefète <godefroy-de-montmirail-dit-le-hardi@protonmail.com>
2024-07-25 13:46:50 -04:00
dependabot[bot] 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] <support@github.com>

* Update changelog

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
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] 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] <support@github.com>

* Update changelog

Signed-off-by: dependabot[bot] <support@github.com>

---------

Signed-off-by: dependabot[bot] <support@github.com>
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 Kemenade e3005b8cff Bump GitHub Actions (#786)
Signed-off-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-07-20 16:20:43 -04:00
Hugo van Kemenade 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 <1324225+hugovk@users.noreply.github.com>

* Convert to f-strings with flynt

Signed-off-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>

* Format with Black

Signed-off-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>

* Remove redundant mock backport dependency

Signed-off-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>

* isort imports

Signed-off-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>

* Add changelog entry

Signed-off-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>

---------

Signed-off-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-07-20 16:19:20 -04:00
Hugo van Kemenade de96d28e45 Remove redundant six dependency (#781)
* Don't create universal wheel for Python 3 only

Signed-off-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>

* Update Black target version to match min Python supported

Signed-off-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>

* Upgrade files using six to Python 3 syntax

Signed-off-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>

* Remove redundant six dependency

Signed-off-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>

* Format with Black

Signed-off-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>

* Add changelog entry

Signed-off-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>

---------

Signed-off-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
2024-07-20 12:30:37 -04:00
Daniel (dB.) Doubrovkine 1ef788a55a Skip elements with titles. (#777)
* Skip elements with titles.

Signed-off-by: dblock <dblock@amazon.com>

* Simplify and just skip by ref.

Signed-off-by: dblock <dblock@amazon.com>

* Re-generate API spec.

Signed-off-by: dblock <dblock@amazon.com>

* Do not skip alias tests.

Signed-off-by: dblock <dblock@amazon.com>

* Actually skip node_id_or_metric.

Signed-off-by: dblock <dblock@amazon.com>

---------

Signed-off-by: dblock <dblock@amazon.com>
2024-07-18 13:24:38 -07:00
Daniel (dB.) Doubrovkine 04b870d68a Skip put_aliases tests that don't require both index and alias parameters. (#778)
Signed-off-by: dblock <dblock@amazon.com>
2024-07-18 08:44:41 -07:00
opensearch-trigger-bot[bot] ea0a718754 Updated opensearch-py to reflect the latest OpenSearch API spec (2024-07-15) (#775)
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: saimedhi <saimedhi@users.noreply.github.com>
2024-07-15 08:30:16 -04:00