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
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
ebd50e0515
Override put_mapping definition to make index name optional. ( #553 )
...
Signed-off-by: dblock <[email protected] >
2023-10-26 11:31:13 -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
Sai Medhini Reddy Maryada and GitHub
ce835fb59d
Generate cluster client from API specs ( #530 )
...
Signed-off-by: saimedhi <[email protected] >
2023-10-09 17:57:09 -04:00
Sai Medhini Reddy Maryada and GitHub
e4c59e4732
Modified generator to generate api deprecation warnings ( #527 )
...
Signed-off-by: saimedhi <[email protected] >
2023-10-09 16:47:26 -04:00
Sai Medhini Reddy Maryada and GitHub
70db37a3c0
Modified generator to generate 'options' and 'default value' for parameters in description ( #519 )
...
Signed-off-by: saimedhi <[email protected] >
2023-10-03 10:43:05 -04:00
Sai Medhini Reddy Maryada and GitHub
7d3c528dff
Integrated generated ingest client APIs into the existing module, ensuring alignment with the server and maintaining backward compatibility ( #513 )
...
Signed-off-by: saimedhi <[email protected] >
2023-09-28 20:18:53 -07:00
Sai Medhini Reddy Maryada and GitHub
2feccc22bb
Integrated generated APIs into the existing module, ensuring alignment with the server and maintaining backward compatibility ( #508 )
...
Signed-off-by: saimedhi <[email protected] >
2023-09-26 12:49:25 -04:00
Sai Medhini Reddy Maryada and GitHub
c6c7df5461
Updated APIs to match other clients and opensearch openapi spec ( #502 )
...
Signed-off-by: saimedhi <[email protected] >
2023-09-26 12:46:18 -04:00
Sai Medhini Reddy Maryada and GitHub
8485606913
Added generating imports and headers to API generator ( #467 )
...
Signed-off-by: saimedhi <[email protected] >
2023-08-02 15:00:20 -07:00
Sai Medhini Reddy Maryada and GitHub
bc6a50b0b9
Enhanced existing API generator to use OpenSearch OpenAPI spec ( #412 )
...
Signed-off-by: saimedhi <[email protected] >
2023-06-27 11:56:55 -07:00
aiudirog and GitHub
f1f73e7ff2
Fixed utils/build-dists.py which was broken by 49ae7c7 ( #316 )
...
* Fixed utils/build-dists.py which was broken by 49ae7c7
Previously the async helpers imported AsyncOpenSearch and therefore failed to import anytime it did
Signed-off-by: Roger Aiudi <[email protected] >
* Refactor async helpers try block to a simple if statement
Signed-off-by: Roger Aiudi <[email protected] >
* Remove newline to pass black
Signed-off-by: Roger Aiudi <[email protected] >
---------
Signed-off-by: Roger Aiudi <[email protected] >
2023-03-08 17:34:43 -08:00
Sai Medhini Reddy Maryada and GitHub
c58375aa7b
Merging opensearch-dsl-py to opensearch-py ( #287 )
...
Signed-off-by: saimedhi <[email protected] >
2023-02-14 15:03:56 -08:00
2d03dc773b
Alerting Plugins ( #93 )
...
* Alert Plugin
Signed-off-by: Arnav Das <[email protected] >
* lint file header license
Signed-off-by: Arnav Das <[email protected] >
* Tests For Alerting[Monitors]
Signed-off-by: Arnav Das <[email protected] >
* Tests For Alerting[Destinations]
Signed-off-by: Arnav Das <[email protected] >
* dynamic lookup 90#issuecomment-1003396742
Signed-off-by: Arnav Das <[email protected] >
* Alerting Async
Signed-off-by: Arnav Das <[email protected] >
* Lint Changes
Signed-off-by: Arnav Das <[email protected] >
* alerting plugins integration tests
Signed-off-by: Arnav Das <[email protected] >
* Integ UnitTests Skip on OPENSEARCH_VERSION >= 2.0.0
Signed-off-by: Arnav Das <[email protected] >
* Unit Test Skip Complete
Signed-off-by: Arnav Das <[email protected] >
* License Headers fixed
Signed-off-by: Arnav Das <[email protected] >
* test_urllib3_connection timeout
Signed-off-by: Arnav Das <[email protected] >
* lint
Signed-off-by: Arnav Das <[email protected] >
* Fix licenses in all files
Signed-off-by: Harsha Vamsi Kalluri <[email protected] >
* Remove elastic search licenses on new files
Signed-off-by: Harsha Vamsi Kalluri <[email protected] >
* Fix formatting
Signed-off-by: Harsha Vamsi Kalluri <[email protected] >
Signed-off-by: Arnav Das <[email protected] >
Signed-off-by: Harsha Vamsi Kalluri <[email protected] >
Co-authored-by: Harsha Vamsi Kalluri <[email protected] >
2022-10-03 14:45:18 -04:00
Vacha Shah and GitHub
b1eaba0064
Type removal breaking changes ( #151 )
...
* Breaking changes for type removal
Signed-off-by: Vacha Shah <[email protected] >
* Adding support to test against unreleased OpenSearch
Signed-off-by: Vacha Shah <[email protected] >
* Formatting
Signed-off-by: Vacha Shah <[email protected] >
* Addressing comments to refactor run-opensearch.sh
Signed-off-by: Vacha Shah <[email protected] >
2022-04-13 10:47:48 -07:00
Philip May and Vijayan Balasubramanian
4056fa0176
fix black formatting for new version
...
Signed-off-by: Philip May <[email protected] >
2022-02-05 00:13:37 -08:00
Rushi Agrawal and Vijayan Balasubramanian
eaa0cd8765
Update setup.py to correctly pick up Python files
...
And also re-update package name in utils/build-dists.py so that it is
uninstalled successfully
Signed-off-by: Rushi Agrawal <[email protected] >
2021-09-19 18:18:09 -07:00
Rushi Agrawal and GitHub
ef88f43a72
Update package name to opensearch-py ( #72 )
...
Since opensearch is already taken, update distribution name to opensearch-py.
Update build utils accordingly to fix package name change.
Signed-off-by: Rushi Agrawal <[email protected] >
2021-09-16 13:51:57 -07:00
Rushi Agrawal
ef0c23c0e4
Rename module to opensearchpy
...
To avoid conflict with an existing package by name 'opensearch' being
present
Signed-off-by: Rushi Agrawal <[email protected] >
2021-09-16 21:23:38 +05:30
Rushi Agrawal
f4891be3c3
Fix potential security issues with jinja2 and pyyaml dep
...
Added escaping to jinja templates. With PyYAML dependency, accidentally
added '<3.4.1' whereas the intent was to make it '==3.4.1', while fixing
as per dependabot alert. Fixed it now.
Signed-off-by: Rushi Agrawal <[email protected] >
2021-09-09 19:05:18 +05:30
Rushi Agrawal
c6cae11f97
Use opensearch1 instead of opensearch7 as example in tests
...
Signed-off-by: Rushi Agrawal <[email protected] >
2021-08-19 07:58:20 +05:30
Rushi Agrawal
9e9269c8f3
Rename Elasticsearch -> OpenSearch
...
Signed-off-by: Rushi Agrawal <[email protected] >
2021-08-19 07:58:20 +05:30
Shephali Mittal
924d71729a
Add SPDX and OpenSearch Modification license header
...
Signed-off-by: Shephali Mittal <[email protected] >
2021-08-10 19:36:47 +05:30
Pierre Grimaud and Seth Michael Larson
305f894c1f
[7.x] Fix typos in documentation
...
Co-authored-by: Seth Michael Larson <[email protected] >
2021-05-25 07:48:43 -05:00
Seth Michael Larson and GitHub
794a97578f
[7.x] Start using the Elastic Artifacts API for YAML REST tests
2021-04-22 12:08:05 -05:00
Seth Michael Larson
e4cdd4544d
[7.x] Add per-request authentication for http_auth and api_key
2021-04-19 17:26:44 -05:00
Seth Michael Larson
f8ffb2cd0a
[7.x] Generate APIs using Elastic build artifacts API
2021-04-19 14:39:21 -05:00
Seth Michael Larson and GitHub
a728aaa491
[7.x] Sort imports with isort and regenerate APIs
2021-01-13 14:21:04 -06:00
Seth Michael Larson and GitHub
3d14e4ff27
[7.x] Handle qualified version snapshots with make.sh
...
Co-authored-by: Seth Michael Larson <[email protected] >
2020-11-23 17:33:00 -06:00
Seth Michael Larson
0ff76b1648
[7.x] Update build-dists to support all Elastic version specifiers
2020-11-17 12:06:14 -06:00
21f25419eb
[7.x] Change 'make.sh release' to 'make.sh assemble'
...
Co-authored-by: Seth Michael Larson <[email protected] >
2020-11-10 13:45:05 -06:00
Seth Michael Larson
708e282eaf
[7.x] Actually dockerize repo, update build-dists for release manager
2020-11-04 13:58:42 -06:00
Seth Michael Larson and GitHub
d08860a357
[7.x] Document all APIs, add stability warning
2020-10-28 13:49:05 -05:00
Seth Michael Larson and Seth Michael Larson
2ce9fd3914
[7.x] Test typing metadata in build-dist script
2020-10-20 15:22:43 -05:00
Seth Michael Larson and GitHub
9b8cee0199
[7.x] Add .ci/make.sh script for building releases
...
Co-authored-by: Seth Michael Larson <[email protected] >
2020-10-12 16:42:23 -05:00
Seth Michael Larson and Seth Michael Larson
cde2a53468
[7.x] Switch to MutableMapping for headers/params
2020-09-28 15:49:14 -05:00
Seth Michael Larson and Seth Michael Larson
c8d0a71a63
[7.x] Add type stub template to API generator
2020-09-28 15:49:14 -05:00
Seth Michael Larson and Seth Michael Larson
6daa14315a
[7.x] Add typing metadata and manual types to package
2020-09-28 15:49:14 -05:00
6250aacafe
[7.x] Update build_dists.py to build namespaced packages
...
Co-authored-by: Seth Michael Larson <[email protected] >
2020-09-21 16:44:39 -05:00
Seth Michael Larson and Seth Michael Larson
680ab85275
[7.x] Add async helpers
2020-08-20 09:11:33 -05:00
Seth Michael Larson and Seth Michael Larson
6f66f7958b
[7.x] Add 'write_only' option to Index APIs
2020-07-29 17:12:11 -05:00
Seth Michael Larson and GitHub
b13c7c6217
[7.x] Switch to long Apache-2.0 license header
2020-07-02 13:15:25 -05:00
Seth Michael Larson
4473f9a659
[7.x] Switch to Nox, add build_dist script
2020-06-24 14:44:04 -05:00
Seth Michael Larson and GitHub
5db3482b5c
Add typeless API for exists_source
2020-06-03 10:38:35 -05:00
Seth Michael Larson and Seth Michael Larson
1773bd17be
[7.x] Backport overrides for typeless APIs
2020-05-26 08:23:21 -05:00
Seth Michael Larson and Seth Michael Larson
bed5ffc740
[7.x] Update API generator for async
2020-05-21 11:36:21 -05:00
Seth Michael Larson and Seth Michael Larson
8e1798cf31
Apply license header changes and API gen
2020-04-23 14:10:49 -05:00