Commit Graph

1566 Commits

Author SHA1 Message Date
Sai Medhini Reddy Maryada ba715b9d3f Dropped support for python 3.6, 3.7 and added support for python 3.12 (#717)
Signed-off-by: saimedhi <saimedhi@amazon.com>
2024-04-06 11:18:47 -04:00
Zelin Hao 8a00963d83 Add permission to the release workflow (#706)
* Add permission needed for manual approval

Signed-off-by: Zelin Hao <zelinhao@amazon.com>

* Remove codeowner

Signed-off-by: Zelin Hao <zelinhao@amazon.com>

---------

Signed-off-by: Zelin Hao <zelinhao@amazon.com>
2024-03-22 17:04:48 -07:00
Sai Medhini Reddy Maryada f2265701a4 Bump version to 2.5.0 (#703)
* Bump version to 2.5.0

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

* Bump version to 2.5.0

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

---------

Signed-off-by: saimedhi <saimedhi@amazon.com>
2024-03-22 15:44:39 -07:00
opensearch-trigger-bot[bot] c770d88dc9 Updated opensearch-py to reflect the latest OpenSearch API spec (2024-03-22) (#702)
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: saimedhi <saimedhi@users.noreply.github.com>
2024-03-22 16:40:18 -04:00
Sai Medhini Reddy Maryada 25db5d5c8a Modified generator to generate plugins (#700)
Signed-off-by: saimedhi <saimedhi@amazon.com>
2024-03-22 07:53:28 -04:00
Sai Medhini Reddy Maryada bd915301e5 Added guide for configuring ssl_assert_hostname (#694)
Signed-off-by: saimedhi <saimedhi@amazon.com>
2024-03-19 15:16:06 -04:00
Sai Medhini Reddy Maryada b2a1796b8e Fixed yaml test runner (#696)
Signed-off-by: saimedhi <saimedhi@amazon.com>
2024-03-16 07:58:10 -04:00
Sai Medhini Reddy Maryada d36a882eaf Enhance generator to update changelog only if generated code differs from existing (#684)
* Enhance generator to update changelog only if generated code differs from existing

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

* Enhance generator to update changelog only if generated code differs from existing

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

---------

Signed-off-by: saimedhi <saimedhi@amazon.com>
2024-03-04 16:24:29 -05:00
dependabot[bot] 4b69c09416 Update pytest-asyncio requirement from <=0.23.4 to <=0.23.5 (#676)
* Update pytest-asyncio requirement from <=0.23.4 to <=0.23.5

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

---
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-02-11 19:59:09 -08:00
Sai Medhini Reddy Maryada b2638fbb47 fix Update changelog in api generator (#675)
Signed-off-by: saimedhi <saimedhi@amazon.com>
2024-02-09 08:47:11 -05:00
opensearch-trigger-bot[bot] 8b91bb4ddb Updated opensearch-py to reflect the latest OpenSearch API spec (2024-02-07) (#671)
Signed-off-by: GitHub <noreply@github.com>
Co-authored-by: saimedhi <saimedhi@users.noreply.github.com>
2024-02-08 11:41:26 -05:00
Sai Medhini Reddy Maryada b9d9bae06e Adding changelog update in API generator (#669)
* Update changelog with api generator

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

* Update changelog with api generator

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

---------

Signed-off-by: saimedhi <saimedhi@amazon.com>
2024-02-07 16:23:44 -05:00
Sai Medhini Reddy Maryada 17a8471987 Fixed automated api update bot for opensearch-py (#667)
Signed-off-by: saimedhi <saimedhi@amazon.com>
2024-02-05 14:54:10 -08:00
Sai Medhini Reddy Maryada 54e2fb6cf9 Added an automated api update bot for opensearch-py (#664)
* Added an automated api update bot for opensearch-py

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

* Added an automated api update bot for opensearch-py

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

* Added an automated api update bot for opensearch-py

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

---------

Signed-off-by: saimedhi <saimedhi@amazon.com>
2024-02-05 11:06:29 -08:00
Sai Medhini Reddy Maryada 94e33c6899 skipping failing integ test that is newly added (#652)
* skipping a newly added test

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

* skipping a newly added test

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

---------

Signed-off-by: saimedhi <saimedhi@amazon.com>
2024-02-02 09:34:31 -08:00
dependabot[bot] d905befa43 Update pytest-asyncio requirement from <=0.23.3 to <=0.23.4 (#662)
* Update pytest-asyncio requirement from <=0.23.3 to <=0.23.4

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

---
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-01-28 21:17:02 -08:00
DJ Carrillo d1f2eab41e Fix/issue 638/updated point in time guide (#661)
* Updated point in time guide & CHANGELOG.

Signed-off-by: Djcarrillo6 <djcarrillo6@yahoo.com>

* Updated point in time guide.

Signed-off-by: Djcarrillo6 <djcarrillo6@yahoo.com>

CHAGELOG w/PR info.

Signed-off-by: Djcarrillo6 <djcarrillo6@yahoo.com>

---------

Signed-off-by: Djcarrillo6 <djcarrillo6@yahoo.com>
2024-01-25 15:38:56 -08:00
Mark Cohen a80bab2ad5 Assignment from no return (#658)
* added unnecessary-dunder-call to pylintrc files; disabled for certain lines

in run_tests.py, exception thrown by 'git remote add origin' when the remote already exists will not exit

Signed-off-by: Mark Cohen <markcoh@amazon.com>

* updates to adhere to assignment-from-no-return lint

Signed-off-by: Mark Cohen <markcoh@amazon.com>

* simplified get_value_filter in Facet to return None
added assert to test get_value_filter returning None

Signed-off-by: Mark Cohen <markcoh@amazon.com>

* added option to output HTML test coverage locally from run_tests.py

returning None from test_faceted_search.Facet.get_value_filter

Signed-off-by: Mark Cohen <markcoh@amazon.com>

* added unused-variable lints; replaced unused variables with _ or referenced them

Signed-off-by: Mark Cohen <markcoh@amazon.com>

* updated CHANGELOG to point to the right PR

Signed-off-by: Mark Cohen <markcoh@amazon.com>

---------

Signed-off-by: Mark Cohen <markcoh@amazon.com>
2024-01-25 15:17:09 -08:00
Sai Medhini Reddy Maryada 900ea94ec8 Incorporated API generation into CI workflow and fixed 'generate' nox session (#660)
Signed-off-by: saimedhi <saimedhi@amazon.com>
2024-01-24 17:46:18 -05:00
Mark Cohen 6e58837993 added unnecessary-dunder-call to pylintrc files; disabled for certain lines (#655)
in run_tests.py, exception thrown by 'git remote add origin' when the remote already exists will not exit

Signed-off-by: Mark Cohen <markcoh@amazon.com>
2024-01-22 09:12:57 -05:00
Mark Cohen 7c66e8cf3d Use .pylintrc files (#654)
* switched pylint to a .pylintrc based config

Signed-off-by: Mark Cohen <markcoh@amazon.com>

* added invalid-name pylint disable instruction because the framework requires camel case instead of snake case

Signed-off-by: Mark Cohen <markcoh@amazon.com>

---------

Signed-off-by: Mark Cohen <markcoh@amazon.com>
2024-01-19 16:17:32 -05:00
Mark Cohen 0ddbf8cafa Pylint integration updates (#643)
* updated files with docstrings to pass pylint

Signed-off-by: Mark Cohen <markcoh@amazon.com>

* updated samples to prepare for enabling missing-docstring linter; will continue to work on this before committing setup.cfg

Signed-off-by: Mark Cohen <markcoh@amazon.com>

* removed missing-function-docstring from setup.cfg so the linter doesn't fail while work on docstrings continues

Signed-off-by: Mark Cohen <markcoh@amazon.com>

* corrected unnecessary return docstring values

Signed-off-by: Mark Cohen <markcoh@amazon.com>

* fixing failure in 'black' on reformatting

Signed-off-by: Mark Cohen <markcoh@amazon.com>

* updated utils to pass missing-function-docstring tests

Signed-off-by: Mark Cohen <markcoh@amazon.com>

* updated functions with missing docstrings or pylint ignore instructions; added a utility to automatically add these ignore instructions to most functions that should be self-describing; rolled back some automatically generated code mistakenly changed

Signed-off-by: Mark Cohen <markcoh@amazon.com>

* * ignoring opensearchpy for pylint and then added it back to noxfile.py
* fixed some lints; created a feature flag for newer dynamic pylint so now lints can be fixed first in legacy code and then enabled by multiple people
* extracted a method for per-folder linting
* updated noxfile.lint_per_folder with type hints
* enabled unspecified-encoding in pylint
* added disable missing-function-docstring pragma to test_clients.py in test_async and test_server
* added more encodings to pass unspecified-encoding pylint tests
* updated changelog
Signed-off-by: Mark Cohen <markcoh@amazon.com>

* updated CHANGELOG.md entry
removed the feature flag for pylint lint_per_folder
fixed failures from mypy and pylint
removed pylint MESSAGE CONTROL config from setup.cfg after relocating to lint_per_folder method
Signed-off-by: Mark Cohen <markcoh@amazon.com>

* removed pylint ignore missing-function-docstring

Signed-off-by: Mark Cohen <markcoh@amazon.com>

* added pylint.extensions.docparams plugin

updated some docstrings to correct parameters

removed pylint from setup.cfg

Signed-off-by: Mark Cohen <markcoh@amazon.com>

* added four lints for opensearchpy/

Signed-off-by: Mark Cohen <markcoh@amazon.com>

* adding await back to client.info() call

Signed-off-by: Mark Cohen <markcoh@amazon.com>

* updated TODOs as requested

renamed test_opensearchpy.test_async.test_server.test_helpers.conftest.setup_ubq_tests to setup_update_by_query_tests

added
OpenSearch-main/rest-api-spec/src/main/resources/rest-api-spec/test/indices/stats/50_noop_update[0]
to skip tests list

run_tests.py catches a CalledProcessError when the git repo already exists and the command to add the origin fails in fetch_opensearch_repo()

Signed-off-by: Mark Cohen <markcoh@amazon.com>

---------

Signed-off-by: Mark Cohen <markcoh@amazon.com>
2024-01-19 13:36:05 -05:00
Sai Medhini Reddy Maryada 2ab3a40307 Updated the get_policy API in the index_management plugin to allow the policy_id argument as optional (#633)
Signed-off-by: saimedhi <saimedhi@amazon.com>
2024-01-10 23:08:41 -08:00
dependabot[bot] 33c2060f6b Update pytest-asyncio requirement from <=0.23.2 to <=0.23.3 (#642)
* Update pytest-asyncio requirement from <=0.23.2 to <=0.23.3

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

---
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-01-08 11:37:45 -05:00
odelmarcelle 3eba72c320 Reusable async client (#639)
* set aiohttp.ClientSession to None after close()

Signed-off-by: odlmarce <delmarcelle.olivier@gmail.com>

* add test

Signed-off-by: odlmarce <delmarcelle.olivier@gmail.com>

* update changelog

Signed-off-by: odlmarce <delmarcelle.olivier@gmail.com>

* update changelog + format
Signed-off-by: odlmarce <delmarcelle.olivier@gmail.com>

* update changelog
Signed-off-by: odlmarce <delmarcelle.olivier@gmail.com>

* add tests using `with` and synchronous client
Signed-off-by: odlmarce <delmarcelle.olivier@gmail.com>

* fix `urllib3.exceptions.ClosedPoolError` breaking synchronous client after `close`
Signed-off-by: odlmarce <delmarcelle.olivier@gmail.com>

* update changelog
Signed-off-by: odlmarce <delmarcelle.olivier@gmail.com>

* separate tests
Signed-off-by: odlmarce <delmarcelle.olivier@gmail.com>

* refactor pool factory as lambda
Signed-off-by: odlmarce <delmarcelle.olivier@gmail.com>

---------

Signed-off-by: odlmarce <delmarcelle.olivier@gmail.com>
2024-01-02 13:33:24 -05:00
Mark Cohen 7b0b58d12b samples directory now passes the missing-function-docstring linter (#640)
* updated files with docstrings to pass pylint

Signed-off-by: Mark Cohen <markcoh@amazon.com>

* updated samples to prepare for enabling missing-docstring linter; will continue to work on this before committing setup.cfg

Signed-off-by: Mark Cohen <markcoh@amazon.com>

* removed missing-function-docstring from setup.cfg so the linter doesn't fail while work on docstrings continues

Signed-off-by: Mark Cohen <markcoh@amazon.com>

* corrected unnecessary return docstring values

Signed-off-by: Mark Cohen <markcoh@amazon.com>

* fixing failure in 'black' on reformatting

Signed-off-by: Mark Cohen <markcoh@amazon.com>

---------

Signed-off-by: Mark Cohen <markcoh@amazon.com>
2023-12-22 12:32:48 -08:00
Sai Medhini Reddy Maryada e323ab2435 Bumps urllib3 from >=1.26.18 to >=1.26.18, <2 (#632)
Signed-off-by: saimedhi <saimedhi@amazon.com>
2023-12-15 10:41:29 -05:00
dependabot[bot] c4e53d444a Update pytest-asyncio requirement from <=0.21.1 to <=0.23.2 (#625)
* Update pytest-asyncio requirement from <=0.21.1 to <=0.23.2

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

---
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>
2023-12-11 16:50:46 -05:00
DJ Carrillo db61b5943b Added fix for key error because of missing 'hits' key. (#616)
Updated CHANGELOG.md.



nox formatting applied.



Added new unit test for actions scan function.



Added type hints & nox formatting.



Added fix to async scan function & added matching unit tests for async.

Signed-off-by: Djcarrillo6 <djcarrillo6@yahoo.com>
2023-12-04 09:26:25 -05:00
Daniel (dB.) Doubrovkine 44f916ca52 Add OpenSearch 2.11.1 integration tests. (#584)
* Add OpenSearch 2.11.1 integration tests.

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

* Exclude flaky integration tests with OpenSearch 2.0.1.

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

---------

Signed-off-by: dblock <dblock@amazon.com>
2023-12-01 09:35:58 -08:00
James Addison 0837c5b916 Remove unnecessary utf-8 header in license_headers.py (follow-up to #615) (#617)
* License tools: remove utf-8 coding declaration from license_headers.py check/fix script; since #615 it is no longer used in the library's codebase

UTF-8 is the default encoding used to read source code files for Python3 - see https://docs.python.org/3/howto/unicode.html#unicode-literals-in-python-source-code

Signed-off-by: James Addison <james@reciperadar.com>

* Cleanup: remove utf-8 coding declaration from the license_headers.py script itself

Signed-off-by: James Addison <james@reciperadar.com>

* Update CHANGELOG.md

Signed-off-by: James Addison <james@reciperadar.com>

---------

Signed-off-by: James Addison <james@reciperadar.com>
2023-11-28 14:00:31 -05:00
Samuel Orji 6f26eb3e8e remove unnecessary utf-8 header in .py files (#615)
* remove unnecessary utf-8 header in .py files

Signed-off-by: samuel orji <awesomeorji@gmail.com>

* review feedback: add link to changelog

Signed-off-by: samuel orji <awesomeorji@gmail.com>

---------

Signed-off-by: samuel orji <awesomeorji@gmail.com>
2023-11-24 16:19:50 -05:00
Zelin Hao 5b28423f71 Update the GHA release workflow with trusted publisher enabled (#614)
* Add GitHub action for opensearch-py release

Signed-off-by: Zelin Hao <zelinhao@amazon.com>

* Generate GitHub release at the end

Signed-off-by: Zelin Hao <zelinhao@amazon.com>

* Update CHANGELOG

Signed-off-by: Zelin Hao <zelinhao@amazon.com>

* Update CHANGELOG

Signed-off-by: Zelin Hao <zelinhao@amazon.com>

---------

Signed-off-by: Zelin Hao <zelinhao@amazon.com>
2023-11-22 20:49:47 -05:00
DJ Carrillo 0cb345db6e Added a guide & sample for a custom logger client implementation. (#579)
* Added a guide & sample for a custom logger client implementation.

Signed-off-by: Djcarrillo6 <djcarrillo6@yahoo.com>

Black formatter

Signed-off-by: Djcarrillo6 <djcarrillo6@yahoo.com>

* Changes from PR review

Signed-off-by: Djcarrillo6 <djcarrillo6@yahoo.com>

Fixed import formatting in sample code for gudie.

Signed-off-by: Djcarrillo6 <djcarrillo6@yahoo.com>

Fixed nox formatting of log collection sample module.

Signed-off-by: Djcarrillo6 <djcarrillo6@yahoo.com>

Added types to log_collection_sample.py

Signed-off-by: Djcarrillo6 <djcarrillo6@yahoo.com>

Added type ignore to StramHandler class

Signed-off-by: Djcarrillo6 <djcarrillo6@yahoo.com>

Added formatting change

Signed-off-by: Djcarrillo6 <djcarrillo6@yahoo.com>

* Added PR review changes.

Signed-off-by: Djcarrillo6 <djcarrillo6@yahoo.com>

Fixed typo in CHANGELOG.

Signed-off-by: Djcarrillo6 <djcarrillo6@yahoo.com>

Requested changes.

Signed-off-by: Djcarrillo6 <djcarrillo6@yahoo.com>

Requested changes again.

Signed-off-by: Djcarrillo6 <djcarrillo6@yahoo.com>

Added link in USER_GUIDE.md.

Signed-off-by: Djcarrillo6 <djcarrillo6@yahoo.com>

---------

Signed-off-by: Djcarrillo6 <djcarrillo6@yahoo.com>
2023-11-22 09:14:12 -05:00
Daniel (dB.) Doubrovkine e92eac2c82 Enabled pylint:pointless-statement. (#611)
Signed-off-by: dblock <dblock@amazon.com>
2023-11-21 12:55:24 -08:00
Daniel (dB.) Doubrovkine 1801ada270 Added pylint, enforce naming. (#590)
* Added pylint.

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

* Enforce pylint:invalid-name.

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

* Updated the generated code header to prevent broken links.

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

* Swapped order of messages.

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

---------

Signed-off-by: dblock <dblock@amazon.com>
2023-11-21 10:04:39 -08:00
Daniel (dB.) Doubrovkine cfd585b289 Preparing for next developer iteration, 2.4.3. (#606)
Signed-off-by: dblock <dblock@amazon.com>
2023-11-19 18:18:43 -05:00
Daniel (dB.) Doubrovkine 103bc89486 Fixes a suspicious setattr that should be taking an Any (#604)
* Fix invalid value type.

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

* Workaround Incompatible types in assignment (expression has type float, variable has type Double)  [assignment]

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

---------

Signed-off-by: dblock <dblock@amazon.com>
2023-11-17 16:54:54 -05:00
Daniel (dB.) Doubrovkine 7509a15ef3 Fix Amazon OpenSearch Serverless integration with LangChain. (#603)
Signed-off-by: dblock <dblock@amazon.com>
2023-11-17 16:09:19 -05:00
Daniel (dB.) Doubrovkine c66e1e37be Fix: TypeError on calling parallel_bulk. (#601)
* Fix: TypeError on calling parallel_bulk.

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

* Added a sample that uses a bulk function generator.

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

---------

Signed-off-by: dblock <dblock@amazon.com>
2023-11-17 10:18:42 -08:00
Daniel (dB.) Doubrovkine 567ede3023 Preparing for next development iteration, 2.4.2. (#597)
Signed-off-by: dblock <dblock@amazon.com>
2023-11-15 22:53:40 -05:00
Daniel (dB.) Doubrovkine cec268e48d Fix for 592 (#594)
* Prepare for next developer iteration, 2.4.1.

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

* Fix: sync opensearchpy without iohttp.

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

* Use nox to run tests.

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

---------

Signed-off-by: dblock <dblock@amazon.com>
2023-11-15 16:33:43 -08:00
Daniel (dB.) Doubrovkine 4874437fb5 Fix: version number in filename for distribution. (#588)
Signed-off-by: dblock <dblock@amazon.com>
2023-11-15 15:03:06 -05:00
Daniel (dB.) Doubrovkine a0e8bd729d Add 2.11.0 to the test matrix. (#587)
Signed-off-by: dblock <dblock@amazon.com>
2023-11-15 12:31:32 -05:00
Daniel (dB.) Doubrovkine 435803439c Remove 2.11. (#583)
Signed-off-by: dblock <dblock@amazon.com>
2023-11-14 22:53:02 -05:00
Daniel (dB.) Doubrovkine 1da810c2eb Preparing for release, 2.4.0 (#581)
* Preparing for release, 2.4.0.

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

* Added OpenSearch 2.11.

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

---------

Signed-off-by: dblock <dblock@amazon.com>
2023-11-14 14:15:54 -05:00
Daniel (dB.) Doubrovkine e68b9e762d Added client-level REST helpers. (#544)
* Added client-level REST helpers.

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

* Move functions into an .http namespace.

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

* Poetry update in samples.

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

* Fix: typo.

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

* Clarified what to use in which older versions.

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

---------

Signed-off-by: dblock <dblock@amazon.com>
2023-11-13 12:52:13 -08:00
dependabot[bot] da436cbbe8 Update coverage requirement from <7.0.0 to <8.0.0 (#578)
* Update coverage requirement from <7.0.0 to <8.0.0

Updates the requirements on [coverage](https://github.com/nedbat/coveragepy) to permit the latest version.
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](https://github.com/nedbat/coveragepy/compare/coverage-3.0b1...7.3.2)

---
updated-dependencies:
- dependency-name: coverage
  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>
2023-11-13 08:56:06 -05:00
Daniel (dB.) Doubrovkine f02d6dee27 Avoid decoding request body unless it needs to be logged. (#571)
Signed-off-by: dblock <dblock@amazon.com>
Signed-off-by: Daniel (dB.) Doubrovkine <dblock@amazon.com>
2023-11-12 11:42:45 -08:00
DJ Carrillo f74b30d433 Fixed typo in CHANGELOG from merged PR #576 (#577)
Signed-off-by: Djcarrillo6 <djcarrillo6@yahoo.com>
2023-11-12 11:39:07 -08:00