Skip to content

Commit 6f26eb3

Browse files
authored
remove unnecessary utf-8 header in .py files (opensearch-project#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>
1 parent 5b28423 commit 6f26eb3

File tree

224 files changed

+1
-223
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

224 files changed

+1
-223
lines changed

CHANGELOG.md

+1

benchmarks/bench_async.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env python
22

3-
# -*- coding: utf-8 -*-
43
# SPDX-License-Identifier: Apache-2.0
54
#
65
# The OpenSearch Contributors require contributions made to

benchmarks/bench_info_sync.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env python
22

3-
# -*- coding: utf-8 -*-
43
# SPDX-License-Identifier: Apache-2.0
54
#
65
# The OpenSearch Contributors require contributions made to

benchmarks/bench_sync.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env python
22

3-
# -*- coding: utf-8 -*-
43
# SPDX-License-Identifier: Apache-2.0
54
#
65
# The OpenSearch Contributors require contributions made to

benchmarks/bench_sync_async.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#!/usr/bin/env python
22

3-
# -*- coding: utf-8 -*-
43
# SPDX-License-Identifier: Apache-2.0
54
#
65
# The OpenSearch Contributors require contributions made to

benchmarks/thread_with_return_value.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

noxfile.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/_extra_imports.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/client/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/client/_patch.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/client/cat.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/client/client.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/client/cluster.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/client/dangling_indices.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/client/features.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/client/http.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/client/indices.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/client/ingest.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/client/nodes.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/client/plugins.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/client/remote.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/client/remote_store.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/client/security.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/client/snapshot.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/client/tasks.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/client/utils.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/compat.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/helpers/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/helpers/actions.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/helpers/document.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/helpers/faceted_search.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/helpers/index.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/helpers/mapping.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/helpers/search.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/helpers/test.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/helpers/update_by_query.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/http_aiohttp.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/plugins/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/plugins/alerting.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/plugins/index_management.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_async/transport.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/_version.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/client/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/client/_patch.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/client/cat.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/client/client.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/client/cluster.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/client/dangling_indices.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/client/features.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/client/http.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/client/indices.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/client/ingest.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/client/nodes.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/client/plugins.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/client/remote.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/client/remote_store.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/client/security.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/client/snapshot.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/client/tasks.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/client/utils.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/compat.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/connection/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/connection/async_connections.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/connection/base.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/connection/connections.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/connection/http_async.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/connection/http_requests.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/connection/http_urllib3.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/connection/pooling.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/connection_pool.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/exceptions.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/helpers/__init__.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/helpers/actions.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/helpers/aggs.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

opensearchpy/helpers/analysis.py

-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
# -*- coding: utf-8 -*-
21
# SPDX-License-Identifier: Apache-2.0
32
#
43
# The OpenSearch Contributors require contributions made to

0 commit comments

Comments
 (0)