8b91bb4ddb
Updated opensearch-py to reflect the latest OpenSearch API spec (2024-02-07) ( #671 )
...
Signed-off-by: GitHub <[email protected] >
Co-authored-by: saimedhi <[email protected] >
2024-02-08 11:41:26 -05:00
Sai Medhini Reddy Maryada and GitHub
b9d9bae06e
Adding changelog update in API generator ( #669 )
...
* Update changelog with api generator
Signed-off-by: saimedhi <[email protected] >
* Update changelog with api generator
Signed-off-by: saimedhi <[email protected] >
---------
Signed-off-by: saimedhi <[email protected] >
2024-02-07 16:23:44 -05:00
Sai Medhini Reddy Maryada and GitHub
54e2fb6cf9
Added an automated api update bot for opensearch-py ( #664 )
...
* Added an automated api update bot for opensearch-py
Signed-off-by: saimedhi <[email protected] >
* Added an automated api update bot for opensearch-py
Signed-off-by: saimedhi <[email protected] >
* Added an automated api update bot for opensearch-py
Signed-off-by: saimedhi <[email protected] >
---------
Signed-off-by: saimedhi <[email protected] >
2024-02-05 11:06:29 -08:00
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] <[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-01-28 21:17:02 -08:00
DJ Carrillo and GitHub
d1f2eab41e
Fix/issue 638/updated point in time guide ( #661 )
...
* Updated point in time guide & CHANGELOG.
Signed-off-by: Djcarrillo6 <[email protected] >
* Updated point in time guide.
Signed-off-by: Djcarrillo6 <[email protected] >
CHAGELOG w/PR info.
Signed-off-by: Djcarrillo6 <[email protected] >
---------
Signed-off-by: Djcarrillo6 <[email protected] >
2024-01-25 15:38:56 -08:00
Mark Cohen and GitHub
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 <[email protected] >
* updates to adhere to assignment-from-no-return lint
Signed-off-by: Mark Cohen <[email protected] >
* simplified get_value_filter in Facet to return None
added assert to test get_value_filter returning None
Signed-off-by: Mark Cohen <[email protected] >
* 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 <[email protected] >
* added unused-variable lints; replaced unused variables with _ or referenced them
Signed-off-by: Mark Cohen <[email protected] >
* updated CHANGELOG to point to the right PR
Signed-off-by: Mark Cohen <[email protected] >
---------
Signed-off-by: Mark Cohen <[email protected] >
2024-01-25 15:17:09 -08:00
Sai Medhini Reddy Maryada and GitHub
900ea94ec8
Incorporated API generation into CI workflow and fixed 'generate' nox session ( #660 )
...
Signed-off-by: saimedhi <[email protected] >
2024-01-24 17:46:18 -05:00
Mark Cohen and GitHub
0ddbf8cafa
Pylint integration updates ( #643 )
...
* updated files with docstrings to pass pylint
Signed-off-by: Mark Cohen <[email protected] >
* updated samples to prepare for enabling missing-docstring linter; will continue to work on this before committing setup.cfg
Signed-off-by: Mark Cohen <[email protected] >
* removed missing-function-docstring from setup.cfg so the linter doesn't fail while work on docstrings continues
Signed-off-by: Mark Cohen <[email protected] >
* corrected unnecessary return docstring values
Signed-off-by: Mark Cohen <[email protected] >
* fixing failure in 'black' on reformatting
Signed-off-by: Mark Cohen <[email protected] >
* updated utils to pass missing-function-docstring tests
Signed-off-by: Mark Cohen <[email protected] >
* 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 <[email protected] >
* * 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 <[email protected] >
* 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 <[email protected] >
* removed pylint ignore missing-function-docstring
Signed-off-by: Mark Cohen <[email protected] >
* added pylint.extensions.docparams plugin
updated some docstrings to correct parameters
removed pylint from setup.cfg
Signed-off-by: Mark Cohen <[email protected] >
* added four lints for opensearchpy/
Signed-off-by: Mark Cohen <[email protected] >
* adding await back to client.info() call
Signed-off-by: Mark Cohen <[email protected] >
* 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 <[email protected] >
---------
Signed-off-by: Mark Cohen <[email protected] >
2024-01-19 13:36:05 -05:00
Sai Medhini Reddy Maryada and GitHub
2ab3a40307
Updated the get_policy API in the index_management plugin to allow the policy_id argument as optional ( #633 )
...
Signed-off-by: saimedhi <[email protected] >
2024-01-10 23:08:41 -08:00
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] <[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-01-08 11:37:45 -05:00
odelmarcelle and GitHub
3eba72c320
Reusable async client ( #639 )
...
* set aiohttp.ClientSession to None after close()
Signed-off-by: odlmarce <[email protected] >
* add test
Signed-off-by: odlmarce <[email protected] >
* update changelog
Signed-off-by: odlmarce <[email protected] >
* update changelog + format
Signed-off-by: odlmarce <[email protected] >
* update changelog
Signed-off-by: odlmarce <[email protected] >
* add tests using `with` and synchronous client
Signed-off-by: odlmarce <[email protected] >
* fix `urllib3.exceptions.ClosedPoolError` breaking synchronous client after `close`
Signed-off-by: odlmarce <[email protected] >
* update changelog
Signed-off-by: odlmarce <[email protected] >
* separate tests
Signed-off-by: odlmarce <[email protected] >
* refactor pool factory as lambda
Signed-off-by: odlmarce <[email protected] >
---------
Signed-off-by: odlmarce <[email protected] >
2024-01-02 13:33:24 -05:00
Sai Medhini Reddy Maryada and GitHub
e323ab2435
Bumps urllib3 from >=1.26.18 to >=1.26.18, <2 ( #632 )
...
Signed-off-by: saimedhi <[email protected] >
2023-12-15 10:41:29 -05:00
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] <[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>
2023-12-11 16:50:46 -05:00
DJ Carrillo and GitHub
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 <[email protected] >
2023-12-04 09:26:25 -05:00
James Addison and GitHub
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 <[email protected] >
* Cleanup: remove utf-8 coding declaration from the license_headers.py script itself
Signed-off-by: James Addison <[email protected] >
* Update CHANGELOG.md
Signed-off-by: James Addison <[email protected] >
---------
Signed-off-by: James Addison <[email protected] >
2023-11-28 14:00:31 -05:00
Samuel Orji and GitHub
6f26eb3e8e
remove unnecessary utf-8 header in .py files ( #615 )
...
* remove unnecessary utf-8 header in .py files
Signed-off-by: samuel orji <[email protected] >
* review feedback: add link to changelog
Signed-off-by: samuel orji <[email protected] >
---------
Signed-off-by: samuel orji <[email protected] >
2023-11-24 16:19:50 -05:00
Zelin Hao and GitHub
5b28423f71
Update the GHA release workflow with trusted publisher enabled ( #614 )
...
* Add GitHub action for opensearch-py release
Signed-off-by: Zelin Hao <[email protected] >
* Generate GitHub release at the end
Signed-off-by: Zelin Hao <[email protected] >
* Update CHANGELOG
Signed-off-by: Zelin Hao <[email protected] >
* Update CHANGELOG
Signed-off-by: Zelin Hao <[email protected] >
---------
Signed-off-by: Zelin Hao <[email protected] >
2023-11-22 20:49:47 -05:00
DJ Carrillo and GitHub
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 <[email protected] >
Black formatter
Signed-off-by: Djcarrillo6 <[email protected] >
* Changes from PR review
Signed-off-by: Djcarrillo6 <[email protected] >
Fixed import formatting in sample code for gudie.
Signed-off-by: Djcarrillo6 <[email protected] >
Fixed nox formatting of log collection sample module.
Signed-off-by: Djcarrillo6 <[email protected] >
Added types to log_collection_sample.py
Signed-off-by: Djcarrillo6 <[email protected] >
Added type ignore to StramHandler class
Signed-off-by: Djcarrillo6 <[email protected] >
Added formatting change
Signed-off-by: Djcarrillo6 <[email protected] >
* Added PR review changes.
Signed-off-by: Djcarrillo6 <[email protected] >
Fixed typo in CHANGELOG.
Signed-off-by: Djcarrillo6 <[email protected] >
Requested changes.
Signed-off-by: Djcarrillo6 <[email protected] >
Requested changes again.
Signed-off-by: Djcarrillo6 <[email protected] >
Added link in USER_GUIDE.md.
Signed-off-by: Djcarrillo6 <[email protected] >
---------
Signed-off-by: Djcarrillo6 <[email protected] >
2023-11-22 09:14:12 -05:00
Daniel (dB.) Doubrovkine and GitHub
e92eac2c82
Enabled pylint:pointless-statement. ( #611 )
...
Signed-off-by: dblock <[email protected] >
2023-11-21 12:55:24 -08:00
Daniel (dB.) Doubrovkine and GitHub
1801ada270
Added pylint, enforce naming. ( #590 )
...
* Added pylint.
Signed-off-by: dblock <[email protected] >
* Enforce pylint:invalid-name.
Signed-off-by: dblock <[email protected] >
* Updated the generated code header to prevent broken links.
Signed-off-by: dblock <[email protected] >
* Swapped order of messages.
Signed-off-by: dblock <[email protected] >
---------
Signed-off-by: dblock <[email protected] >
2023-11-21 10:04:39 -08:00
Daniel (dB.) Doubrovkine and GitHub
cfd585b289
Preparing for next developer iteration, 2.4.3. ( #606 )
...
Signed-off-by: dblock <[email protected] >
2023-11-19 18:18:43 -05:00
Daniel (dB.) Doubrovkine and GitHub
103bc89486
Fixes a suspicious setattr that should be taking an Any ( #604 )
...
* Fix invalid value type.
Signed-off-by: dblock <[email protected] >
* Workaround Incompatible types in assignment (expression has type float, variable has type Double) [assignment]
Signed-off-by: dblock <[email protected] >
---------
Signed-off-by: dblock <[email protected] >
2023-11-17 16:54:54 -05:00
Daniel (dB.) Doubrovkine and GitHub
7509a15ef3
Fix Amazon OpenSearch Serverless integration with LangChain. ( #603 )
...
Signed-off-by: dblock <[email protected] >
2023-11-17 16:09:19 -05:00
Daniel (dB.) Doubrovkine and GitHub
c66e1e37be
Fix: TypeError on calling parallel_bulk. ( #601 )
...
* Fix: TypeError on calling parallel_bulk.
Signed-off-by: dblock <[email protected] >
* Added a sample that uses a bulk function generator.
Signed-off-by: dblock <[email protected] >
---------
Signed-off-by: dblock <[email protected] >
2023-11-17 10:18:42 -08:00
Daniel (dB.) Doubrovkine and GitHub
567ede3023
Preparing for next development iteration, 2.4.2. ( #597 )
...
Signed-off-by: dblock <[email protected] >
2023-11-15 22:53:40 -05:00
Daniel (dB.) Doubrovkine and GitHub
cec268e48d
Fix for 592 ( #594 )
...
* Prepare for next developer iteration, 2.4.1.
Signed-off-by: dblock <[email protected] >
* Fix: sync opensearchpy without iohttp.
Signed-off-by: dblock <[email protected] >
* Use nox to run tests.
Signed-off-by: dblock <[email protected] >
---------
Signed-off-by: dblock <[email protected] >
2023-11-15 16:33:43 -08:00
Daniel (dB.) Doubrovkine and GitHub
1da810c2eb
Preparing for release, 2.4.0 ( #581 )
...
* Preparing for release, 2.4.0.
Signed-off-by: dblock <[email protected] >
* Added OpenSearch 2.11.
Signed-off-by: dblock <[email protected] >
---------
Signed-off-by: dblock <[email protected] >
2023-11-14 14:15:54 -05:00
Daniel (dB.) Doubrovkine and GitHub
e68b9e762d
Added client-level REST helpers. ( #544 )
...
* Added client-level REST helpers.
Signed-off-by: dblock <[email protected] >
* Move functions into an .http namespace.
Signed-off-by: dblock <[email protected] >
* Poetry update in samples.
Signed-off-by: dblock <[email protected] >
* Fix: typo.
Signed-off-by: dblock <[email protected] >
* Clarified what to use in which older versions.
Signed-off-by: dblock <[email protected] >
---------
Signed-off-by: dblock <[email protected] >
2023-11-13 12:52:13 -08:00
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] <[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>
2023-11-13 08:56:06 -05:00
Daniel (dB.) Doubrovkine and GitHub
f02d6dee27
Avoid decoding request body unless it needs to be logged. ( #571 )
...
Signed-off-by: dblock <[email protected] >
Signed-off-by: Daniel (dB.) Doubrovkine <[email protected] >
2023-11-12 11:42:45 -08:00
DJ Carrillo and GitHub
f74b30d433
Fixed typo in CHANGELOG from merged PR #576 ( #577 )
...
Signed-off-by: Djcarrillo6 <[email protected] >
2023-11-12 11:39:07 -08:00
DJ Carrillo and GitHub
7878364cf0
Removed EOL Python 3.6. Bumped urllib3 to 1.26.18 to patch sec vulnerability. ( #576 )
...
Updated change log.
Signed-off-by: Djcarrillo6 <[email protected] >
2023-11-12 10:22:54 -05:00
Daniel (dB.) Doubrovkine and GitHub
f410e81d80
Fix: build and deploy docs. ( #575 )
...
* Fix: build and deploy docs.
Signed-off-by: dblock <[email protected] >
* Run nox -rs generate.
Signed-off-by: dblock <[email protected] >
---------
Signed-off-by: dblock <[email protected] >
2023-11-11 14:28:43 -08:00
Daniel (dB.) Doubrovkine and GitHub
d8dc5474b7
Expanded nox -rs docs to generate docs. ( #568 )
...
Signed-off-by: dblock <[email protected] >
Signed-off-by: Daniel (dB.) Doubrovkine <[email protected] >
2023-11-09 23:21:35 -08:00
Daniel (dB.) Doubrovkine and GitHub
58b83d8c06
Added Windows CI. ( #569 )
...
Signed-off-by: dblock <[email protected] >
2023-11-09 17:41:37 -08:00
56606ed541
Set enable_cleanup_closed=True to drop TLS connections without a shutdown ( #468 )
...
* Set enable_cleanup_closed=True to drop TLS connections without a shutdown
AsyncOpenSearch seems to leak TLS connections due to a missing parameter in `aiohttp.TCPConnector`. This causes #172 and was also fixed "upstream" in this issue https://github.com/elastic/elasticsearch-py/issues/1910 .
Signed-off-by: Sandor Nemes <[email protected] >
* Update CHANGELOG.md
Signed-off-by: Sandor Nemes <[email protected] >
---------
Signed-off-by: Sandor Nemes <[email protected] >
Signed-off-by: Daniel (dB.) Doubrovkine <[email protected] >
Co-authored-by: Daniel (dB.) Doubrovkine <[email protected] >
2023-11-09 18:52:10 -05:00
Daniel (dB.) Doubrovkine and GitHub
56c96d7c4f
Expanded type coverage to benchmarks, samples and tests. ( #566 )
...
* Renamed json samples to fix duplicate module name.
Signed-off-by: dblock <[email protected] >
* Enabled mypy on all source files.
Signed-off-by: dblock <[email protected] >
* Added missing types.
Signed-off-by: dblock <[email protected] >
* Added CHANGELOG.
Signed-off-by: dblock <[email protected] >
* Move type: ignore to fix untyped decorator makes function untyped.
Signed-off-by: dblock <[email protected] >
* Fix nox -rs lint-3.7.
Signed-off-by: dblock <[email protected] >
* Fixed incorrect import.
Signed-off-by: dblock <[email protected] >
* Fix broken test.
Signed-off-by: dblock <[email protected] >
* Fixed TestBulk::test_bulk_works_with_bytestring_body.
Signed-off-by: dblock <[email protected] >
---------
Signed-off-by: dblock <[email protected] >
2023-11-09 10:51:20 -05:00
Daniel (dB.) Doubrovkine and GitHub
dcb79cc322
Merge .pyi type stubs inline ( #563 )
...
* Merged types into .py code.
Signed-off-by: dblock <[email protected] >
* Fix: nox -rs generate.
Signed-off-by: dblock <[email protected] >
* Updated CHANGELOG.
Signed-off-by: dblock <[email protected] >
* Use lowest common python version for lint.
Signed-off-by: dblock <[email protected] >
* Fix: don't typeshed.
Signed-off-by: dblock <[email protected] >
* Removed unneeded comment.
Signed-off-by: dblock <[email protected] >
* Simplify OPENSEARCH_URL.
Signed-off-by: dblock <[email protected] >
* Fix: positional ignore_status used as chunk_size.
Signed-off-by: dblock <[email protected] >
* Fix: parse version string.
Signed-off-by: dblock <[email protected] >
* Remove future annotations for Python 3.6.
Signed-off-by: dblock <[email protected] >
* Fix: types in documentation.
Signed-off-by: dblock <[email protected] >
* Improve CHANGELOG text.
Signed-off-by: dblock <[email protected] >
* Re-added missing separator.
Signed-off-by: dblock <[email protected] >
* Remove duplicate licenses.
Signed-off-by: dblock <[email protected] >
* Get rid of Optional[Any].
Signed-off-by: dblock <[email protected] >
* Fix docs with AsyncOpenSearch.
Signed-off-by: dblock <[email protected] >
* Fix: undo comment.
Signed-off-by: dblock <[email protected] >
---------
Signed-off-by: dblock <[email protected] >
2023-11-06 10:08:19 -08:00
DJ Carrillo and GitHub
0d8a23dd78
Applied document lifecycle guide & sample. ( #559 )
...
Applied pull number to CHNAGELOG.md
Signed-off-by: Djcarrillo6 <[email protected] >
2023-10-30 20:02:30 -07:00
Daniel (dB.) Doubrovkine and GitHub
bcfef113c4
Added samples, benchmarks and docs for nox format. ( #556 )
...
* Added samples for nox format.
Signed-off-by: dblock <[email protected] >
* Added space after #!/usr/bin/env python.
Signed-off-by: dblock <[email protected] >
* Added benchmarks and docs.
Signed-off-by: dblock <[email protected] >
---------
Signed-off-by: dblock <[email protected] >
2023-10-26 19:55:50 -07:00
Daniel (dB.) Doubrovkine and GitHub
0da60b2623
Added a utf-8 header to all .py files ( #557 )
...
Signed-off-by: dblock <[email protected] >
2023-10-26 13:34:34 -04:00
Daniel (dB.) Doubrovkine and GitHub
17794bab75
Add a nox session for client generator. ( #554 )
...
Signed-off-by: dblock <[email protected] >
2023-10-26 08:55:25 -07:00
Sai Medhini Reddy Maryada and GitHub
fe4b6d754c
added remote store client ( #552 )
...
Signed-off-by: saimedhi <[email protected] >
2023-10-26 10:59:07 -04:00
Sai Medhini Reddy Maryada and GitHub
1190079f51
Generate opensearch-py client from API specs ( #551 )
...
Signed-off-by: saimedhi <[email protected] >
2023-10-26 10:58:33 -04:00
Daniel (dB.) Doubrovkine and GitHub
627e717534
Remove support for Python 2.x. ( #548 )
...
Signed-off-by: dblock <[email protected] >
2023-10-24 07:57:21 -07:00
Daniel (dB.) Doubrovkine and GitHub
a1f942b6f9
Added support for AWS Sigv4 for UrlLib3. ( #547 )
...
* WIP: Added support for AWS Sigv4 for UrlLib3.
Signed-off-by: dblock <[email protected] >
* Refactored common implementation.
Signed-off-by: dblock <[email protected] >
* Added sigv4 samples.
Signed-off-by: dblock <[email protected] >
* Updated CHANGELOG.
Signed-off-by: dblock <[email protected] >
* Add documentation.
Signed-off-by: dblock <[email protected] >
* Use the correct class in tests.
Signed-off-by: dblock <[email protected] >
* Renamed samples.
Signed-off-by: dblock <[email protected] >
* Split up requests and urllib3 unit tests.
Signed-off-by: dblock <[email protected] >
* Rename AWSV4Signer.
Signed-off-by: dblock <[email protected] >
* Clarified documentation of when to use Urllib3AWSV4SignerAuth vs. RequestHttpConnection.
Signed-off-by: dblock <[email protected] >
* Move fetch_url inside the signer class.
Signed-off-by: dblock <[email protected] >
* Added unit test for Urllib3AWSV4SignerAuth adding headers.
Signed-off-by: dblock <[email protected] >
* Added unit test for signing to include query string.
Signed-off-by: dblock <[email protected] >
---------
Signed-off-by: dblock <[email protected] >
2023-10-23 19:46:19 -04:00
Daniel (dB.) Doubrovkine and GitHub
fa8f3a7ae0
Added a guide on making raw JSON REST requests. ( #542 )
...
Signed-off-by: dblock <[email protected] >
2023-10-16 12:32:17 -07:00
DJ Carrillo and GitHub
d9a7050df4
Added advanced index actioins guide & sample code file. ( #541 )
...
Signed-off-by: Djcarrillo6 <[email protected] >
2023-10-16 11:27:22 -04:00
Daniel (dB.) Doubrovkine and GitHub
af263a060a
Add micro benchmarks. ( #537 )
...
* Align pool_maxsize for different connection pool implementations.
Signed-off-by: dblock <[email protected] >
* Added benchmarks.
Signed-off-by: dblock <[email protected] >
* Multi-threaded vs. async benchmarks.
Signed-off-by: dblock <[email protected] >
* Set pool size to the number of threads.
Signed-off-by: dblock <[email protected] >
* Added sync/async benchmark.
Signed-off-by: dblock <[email protected] >
* Report client-side latency.
Signed-off-by: dblock <[email protected] >
* Various updates to benchmarks, demonstrating threading improves throughput.
Signed-off-by: dblock <[email protected] >
* Bench info.
Signed-off-by: dblock <[email protected] >
* Fixup format.
Signed-off-by: dblock <[email protected] >
* Undo async maxsize.
Signed-off-by: dblock <[email protected] >
* Moved benchmarks folder.
Signed-off-by: dblock <[email protected] >
* Updated documentation and project description.
Signed-off-by: dblock <[email protected] >
---------
Signed-off-by: dblock <[email protected] >
2023-10-13 11:29:54 -07:00
Daniel (dB.) Doubrovkine and GitHub
7a638cdafc
Align pool_maxsize for different connection pool implementations. ( #535 )
...
* Align pool_maxsize for different connection pool implementations.
Signed-off-by: dblock <[email protected] >
* Document connection classes and settings.
Signed-off-by: dblock <[email protected] >
* Undo change in async for backwards compatibility.
Signed-off-by: dblock <[email protected] >
* Fix: typo.
Signed-off-by: dblock <[email protected] >
---------
Signed-off-by: dblock <[email protected] >
2023-10-12 18:55:31 -04:00