Add long Apache-2.0 license header to all files

This commit is contained in:
Seth Michael Larson 2020-07-08 15:10:43 -05:00 committed by GitHub
parent 5897b4587c
commit ceacf759c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
104 changed files with 1686 additions and 322 deletions

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# Configuration file for the Sphinx documentation builder. # Configuration file for the Sphinx documentation builder.
# #

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
from eland._version import ( # noqa: F401 from eland._version import ( # noqa: F401
__title__, __title__,

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
__title__ = "eland" __title__ = "eland"
__description__ = "Python Client and Toolkit for DataFrames, Big Data, Machine Learning and ETL in Elasticsearch" __description__ = "Python Client and Toolkit for DataFrames, Big Data, Machine Learning and ETL in Elasticsearch"

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
from abc import ABC, abstractmethod from abc import ABC, abstractmethod
from typing import TYPE_CHECKING from typing import TYPE_CHECKING

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
from abc import ABC, abstractmethod from abc import ABC, abstractmethod
from io import StringIO from io import StringIO

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import re import re
import warnings import warnings

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import numpy as np import numpy as np
import pandas as pd import pandas as pd

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import sys import sys
import warnings import warnings

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import csv import csv
from typing import Union, List, Tuple, Optional, Mapping, Dict, Any from typing import Union, List, Tuple, Optional, Mapping, Dict, Any

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import warnings import warnings

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# Originally based on code in MIT-licensed pandasticsearch filters # Originally based on code in MIT-licensed pandasticsearch filters

View File

@ -1,7 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
from typing import Optional, TextIO, TYPE_CHECKING from typing import Optional, TextIO, TYPE_CHECKING
from eland.utils import deprecated_api from eland.utils import deprecated_api

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
from eland.ml.ml_model import MLModel from eland.ml.ml_model import MLModel
from eland.ml.imported_ml_model import ImportedMLModel from eland.ml.imported_ml_model import ImportedMLModel

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import base64 import base64
import gzip import gzip

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import distutils.version import distutils.version
import importlib import importlib

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
from typing import Union, List, Optional, Tuple, TYPE_CHECKING, cast, Dict, Any from typing import Union, List, Optional, Tuple, TYPE_CHECKING, cast, Dict, Any
@ -228,14 +241,14 @@ class ImportedMLModel(MLModel):
# Unpack results into an array. Errors can be present # Unpack results into an array. Errors can be present
# within the response without a non-2XX HTTP status code. # within the response without a non-2XX HTTP status code.
y = [] y = []
for doc in results["docs"]: for res in results["docs"]:
if "error" in doc: if "error" in res:
raise RuntimeError( raise RuntimeError(
f"Failed to run prediction for model ID {self._model_id!r}", f"Failed to run prediction for model ID {self._model_id!r}",
doc["error"], res["error"],
) )
y.append(doc["doc"]["_source"]["ml"]["inference"]["predicted_value"]) y.append(res["doc"]["_source"]["ml"]["inference"]["predicted_value"])
# Return results as np.ndarray of float32 or int (consistent with sklearn/xgboost) # Return results as np.ndarray of float32 or int (consistent with sklearn/xgboost)
if self._model_type == MLModel.TYPE_CLASSIFICATION: if self._model_type == MLModel.TYPE_CLASSIFICATION:

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import elasticsearch import elasticsearch
from eland.common import ensure_es_client from eland.common import ensure_es_client

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import inspect import inspect
from typing import Any, Dict, Type from typing import Any, Dict, Type

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
from typing import Sequence, Optional, Any from typing import Sequence, Optional, Any
from .._model_serializer import ModelSerializer from .._model_serializer import ModelSerializer

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import numpy as np # type: ignore import numpy as np # type: ignore
from typing import Optional, Sequence, Union, Dict, Any, Type, Tuple from typing import Optional, Sequence, Union, Dict, Any, Type, Tuple

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
from typing import Optional, List, Dict, Any, Type from typing import Optional, List, Dict, Any, Type
from .base import ModelTransformer from .base import ModelTransformer

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import sys import sys
from abc import ABC, abstractmethod from abc import ABC, abstractmethod

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import copy import copy
import typing import typing

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
""" """
Public plotting API Public plotting API

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
from eland.plotting._matplotlib.hist import hist_series, hist_frame from eland.plotting._matplotlib.hist import hist_series, hist_frame

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
""" """
Public plotting API Public plotting API

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import numpy as np import numpy as np
import pandas.core.common as com import pandas.core.common as com

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import warnings import warnings
from copy import deepcopy from copy import deepcopy

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import copy import copy
from datetime import datetime from datetime import datetime

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
""" """
Series Series

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
from abc import ABC, abstractmethod from abc import ABC, abstractmethod
from typing import TYPE_CHECKING, List, Any, Tuple from typing import TYPE_CHECKING, List, Any, Tuple

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import os import os

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import os import os

View File

@ -1,3 +1,16 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability
from datetime import datetime from datetime import datetime

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatibility # File called _pytest for PyCharm compatibility

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability
from io import StringIO from io import StringIO

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatibility # File called _pytest for PyCharm compatibility

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatibility # File called _pytest for PyCharm compatibility
import pytest import pytest

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability
import numpy as np import numpy as np

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability

View File

@ -1,3 +1,16 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
from datetime import datetime, timedelta from datetime import datetime, timedelta
import pytest import pytest

View File

@ -1,3 +1,16 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability
import pytest import pytest

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability
from datetime import datetime from datetime import datetime

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability
import pytest import pytest

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability
from pandas.testing import assert_series_equal from pandas.testing import assert_series_equal

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability
import pytest import pytest

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import numpy as np import numpy as np
import pandas as pd import pandas as pd

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability
import pytest import pytest

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability
from io import StringIO from io import StringIO

View File

@ -1,10 +1,22 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import pytest import pytest
import numpy as np import numpy as np
from elasticsearch import ElasticsearchException
from eland.ml import ImportedMLModel from eland.ml import ImportedMLModel
from eland.tests import ES_TEST_CLIENT from eland.tests import ES_TEST_CLIENT

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import sys import sys
import types import types

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
from eland.operations import Operations from eland.operations import Operations

View File

@ -1,3 +1,16 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
from eland.filter import ( from eland.filter import (
Greater, Greater,

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability
from matplotlib.testing.decorators import check_figures_equal from matplotlib.testing.decorators import check_figures_equal

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability
import pandas as pd import pandas as pd

View File

@ -1,3 +1,16 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability
import numpy as np import numpy as np

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import numpy as np import numpy as np
import warnings import warnings

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability
import eland as ed import eland as ed

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
from eland import eland_to_pandas from eland import eland_to_pandas
from eland.tests.common import TestData from eland.tests.common import TestData

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability
import eland as ed import eland as ed

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability
import eland as ed import eland as ed

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability
import eland as ed import eland as ed

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatibility # File called _pytest for PyCharm compatibility
import eland as ed import eland as ed

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability
import pytest import pytest

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatability # File called _pytest for PyCharm compatability
import pytest import pytest

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import pandas as pd import pandas as pd
from elasticsearch import helpers from elasticsearch import helpers

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
# File called _pytest for PyCharm compatibility # File called _pytest for PyCharm compatibility

View File

@ -1,6 +1,19 @@
# Licensed to Elasticsearch B.V under one or more agreements. # Licensed to Elasticsearch B.V. under one or more contributor
# Elasticsearch B.V licenses this file to you under the Apache 2.0 License. # license agreements. See the NOTICE file distributed with
# See the LICENSE file in the project root for more information # this work for additional information regarding copyright
# ownership. Elasticsearch B.V. licenses this file to you under
# the Apache License, Version 2.0 (the "License"); you may
# not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing,
# software distributed under the License is distributed on an
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
# KIND, either express or implied. See the License for the
# specific language governing permissions and limitations
# under the License.
import re import re
import functools import functools

Some files were not shown because too many files have changed in this diff Show More