This is an automated email from the ASF dual-hosted git repository. weibin pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/incubator-graphar.git
The following commit(s) were added to refs/heads/main by this push: new 98cdeed chore: fix the header of pyspark source code (#446) 98cdeed is described below commit 98cdeed42e5e0ce4e4e16097b1eb1f70f2defee4 Author: Weibin Zeng <qiaozi....@alibaba-inc.com> AuthorDate: Wed Apr 10 14:26:40 2024 +0800 chore: fix the header of pyspark source code (#446) Signed-off-by: acezen <qiaozi....@alibaba-inc.com> --- pyspark/Makefile | 14 -------------- pyspark/graphar_pyspark/info.py | 14 -------------- pyspark/graphar_pyspark/reader.py | 14 -------------- pyspark/graphar_pyspark/util.py | 14 -------------- pyspark/graphar_pyspark/writer.py | 14 -------------- pyspark/pyproject.toml | 14 -------------- pyspark/tests/__init__.py | 14 -------------- pyspark/tests/conftest.py | 14 -------------- pyspark/tests/test_enums.py | 14 -------------- pyspark/tests/test_info.py | 14 -------------- pyspark/tests/test_reader.py | 14 -------------- pyspark/tests/test_transform.py | 14 -------------- pyspark/tests/test_writer.py | 14 -------------- 13 files changed, 182 deletions(-) diff --git a/pyspark/Makefile b/pyspark/Makefile index 13834c8..a125c3c 100644 --- a/pyspark/Makefile +++ b/pyspark/Makefile @@ -15,20 +15,6 @@ # specific language governing permissions and limitations # under the License. -# copyright 2022-2023 alibaba group holding limited. -# -# 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. - .PHONY: install_test install_test: export JAVA_HOME=${JAVA_HOME_11_X64} diff --git a/pyspark/graphar_pyspark/info.py b/pyspark/graphar_pyspark/info.py index 81c7c98..8617504 100644 --- a/pyspark/graphar_pyspark/info.py +++ b/pyspark/graphar_pyspark/info.py @@ -15,20 +15,6 @@ # specific language governing permissions and limitations # under the License. -# copyright 2022-2023 alibaba group holding limited. -# -# 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. - """Bindings to org.apache.graphar info classes.""" # because we are using type-hints, we need to define few custom TypeVar diff --git a/pyspark/graphar_pyspark/reader.py b/pyspark/graphar_pyspark/reader.py index c66e1c7..8165102 100644 --- a/pyspark/graphar_pyspark/reader.py +++ b/pyspark/graphar_pyspark/reader.py @@ -15,20 +15,6 @@ # specific language governing permissions and limitations # under the License. -# copyright 2022-2023 alibaba group holding limited. -# -# 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. - """Bidnings to org.apache.graphar.graph.""" from __future__ import annotations diff --git a/pyspark/graphar_pyspark/util.py b/pyspark/graphar_pyspark/util.py index c6486b3..449336c 100644 --- a/pyspark/graphar_pyspark/util.py +++ b/pyspark/graphar_pyspark/util.py @@ -15,20 +15,6 @@ # specific language governing permissions and limitations # under the License. -# copyright 2022-2023 alibaba group holding limited. -# -# 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. - """Bindings to org.apache.graphar.util.""" from __future__ import annotations diff --git a/pyspark/graphar_pyspark/writer.py b/pyspark/graphar_pyspark/writer.py index d83ec02..c5a9375 100644 --- a/pyspark/graphar_pyspark/writer.py +++ b/pyspark/graphar_pyspark/writer.py @@ -15,20 +15,6 @@ # specific language governing permissions and limitations # under the License. -# copyright 2022-2023 alibaba group holding limited. -# -# 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. - """Bindings to org.apache.graphar.writer.""" diff --git a/pyspark/pyproject.toml b/pyspark/pyproject.toml index 26de198..23607cb 100644 --- a/pyspark/pyproject.toml +++ b/pyspark/pyproject.toml @@ -15,20 +15,6 @@ # specific language governing permissions and limitations # under the License. -# copyright 2022-2023 alibaba group holding limited. -# -# 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. - [tool.poetry] name = "graphar-pyspark" version = "0.0.1" diff --git a/pyspark/tests/__init__.py b/pyspark/tests/__init__.py index 20a2511..13a8339 100644 --- a/pyspark/tests/__init__.py +++ b/pyspark/tests/__init__.py @@ -14,17 +14,3 @@ # KIND, either express or implied. See the License for the # specific language governing permissions and limitations # under the License. - -# copyright 2022-2023 alibaba group holding limited. -# -# 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. diff --git a/pyspark/tests/conftest.py b/pyspark/tests/conftest.py index a53a9ad..6b58d67 100644 --- a/pyspark/tests/conftest.py +++ b/pyspark/tests/conftest.py @@ -15,20 +15,6 @@ # specific language governing permissions and limitations # under the License. -# copyright 2022-2023 alibaba group holding limited. -# -# 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/pyspark/tests/test_enums.py b/pyspark/tests/test_enums.py index 6605cb5..dbaaabf 100644 --- a/pyspark/tests/test_enums.py +++ b/pyspark/tests/test_enums.py @@ -15,20 +15,6 @@ # specific language governing permissions and limitations # under the License. -# copyright 2022-2023 alibaba group holding limited. -# -# 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 graphar_pyspark import initialize from graphar_pyspark.enums import GarType, FileType, AdjListType diff --git a/pyspark/tests/test_info.py b/pyspark/tests/test_info.py index 2eaa834..2ab393d 100644 --- a/pyspark/tests/test_info.py +++ b/pyspark/tests/test_info.py @@ -15,20 +15,6 @@ # specific language governing permissions and limitations # under the License. -# copyright 2022-2023 alibaba group holding limited. -# -# 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/pyspark/tests/test_reader.py b/pyspark/tests/test_reader.py index 502426b..a92a399 100644 --- a/pyspark/tests/test_reader.py +++ b/pyspark/tests/test_reader.py @@ -15,20 +15,6 @@ # specific language governing permissions and limitations # under the License. -# copyright 2022-2023 alibaba group holding limited. -# -# 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 from graphar_pyspark import initialize diff --git a/pyspark/tests/test_transform.py b/pyspark/tests/test_transform.py index 7479bd7..e92837f 100644 --- a/pyspark/tests/test_transform.py +++ b/pyspark/tests/test_transform.py @@ -15,20 +15,6 @@ # specific language governing permissions and limitations # under the License. -# copyright 2022-2023 alibaba group holding limited. -# -# 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/pyspark/tests/test_writer.py b/pyspark/tests/test_writer.py index 41f1ca1..131911d 100644 --- a/pyspark/tests/test_writer.py +++ b/pyspark/tests/test_writer.py @@ -15,20 +15,6 @@ # specific language governing permissions and limitations # under the License. -# copyright 2022-2023 alibaba group holding limited. -# -# 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 from graphar_pyspark import initialize --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@graphar.apache.org For additional commands, e-mail: commits-h...@graphar.apache.org