From d59a1f333e298e7a56b10827e1b54d13d1cb2aeb Mon Sep 17 00:00:00 2001 From: Will Jones Date: Thu, 7 Sep 2023 08:18:42 -0700 Subject: [PATCH] add licenses --- python/python/benchmarks/conftest.py | 13 +++++++++++++ python/python/benchmarks/test_index.py | 13 +++++++++++++ python/python/benchmarks/test_scan.py | 13 +++++++++++++ python/python/benchmarks/test_search.py | 13 +++++++++++++ python/python/tests/conftest.py | 13 +++++++++++++ 5 files changed, 65 insertions(+) diff --git a/python/python/benchmarks/conftest.py b/python/python/benchmarks/conftest.py index c78092e3ac..b4550e5b84 100644 --- a/python/python/benchmarks/conftest.py +++ b/python/python/benchmarks/conftest.py @@ -1,3 +1,16 @@ +# Copyright (c) 2023. Lance Developers +# +# Licensed 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 pathlib import Path import pytest diff --git a/python/python/benchmarks/test_index.py b/python/python/benchmarks/test_index.py index 3b0dacd0bc..fc9738b65f 100644 --- a/python/python/benchmarks/test_index.py +++ b/python/python/benchmarks/test_index.py @@ -1,3 +1,16 @@ +# Copyright (c) 2023. Lance Developers +# +# Licensed 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 pathlib import Path import lance diff --git a/python/python/benchmarks/test_scan.py b/python/python/benchmarks/test_scan.py index fed1b03db0..a62ae95890 100644 --- a/python/python/benchmarks/test_scan.py +++ b/python/python/benchmarks/test_scan.py @@ -1,3 +1,16 @@ +# Copyright (c) 2023. Lance Developers +# +# Licensed 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 random from pathlib import Path diff --git a/python/python/benchmarks/test_search.py b/python/python/benchmarks/test_search.py index b5fda299d3..77ce841fe4 100644 --- a/python/python/benchmarks/test_search.py +++ b/python/python/benchmarks/test_search.py @@ -1,3 +1,16 @@ +# Copyright (c) 2023. Lance Developers +# +# Licensed 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 shutil from pathlib import Path diff --git a/python/python/tests/conftest.py b/python/python/tests/conftest.py index fff935aaae..9018422d66 100644 --- a/python/python/tests/conftest.py +++ b/python/python/tests/conftest.py @@ -1,3 +1,16 @@ +# Copyright (c) 2023. Lance Developers +# +# Licensed 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 sys