mirror of
https://github.com/elastic/eland.git
synced 2025-07-11 00:02:14 +08:00
Add long Apache-2.0 license header to all files
This commit is contained in:
parent
5897b4587c
commit
ceacf759c3
@ -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.
|
||||||
#
|
#
|
||||||
|
@ -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__,
|
||||||
|
@ -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"
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
19
eland/etl.py
19
eland/etl.py
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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:
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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.
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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.
|
||||||
|
@ -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
|
||||||
|
@ -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.
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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.
|
||||||
|
@ -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,
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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.
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
@ -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
|
||||||
|
|
||||||
|
@ -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
Loading…
x
Reference in New Issue
Block a user