This is an automated email from the ASF dual-hosted git repository. skrawcz pushed a commit to branch stefan/add_licenses in repository https://gitbox.apache.org/repos/asf/hamilton.git
commit 0b1f4490e0d326121c250cdf4c56b2d22df678c7 Author: Stefan Krawczyk <[email protected]> AuthorDate: Sat Sep 6 23:01:16 2025 -0700 Adds missing license headers --- contrib/hamilton/contrib/__init__.py | 17 +++++++++++++++++ hamilton/__init__.py | 17 +++++++++++++++++ hamilton/common/__init__.py | 17 +++++++++++++++++ hamilton/dataflows/__init__.py | 17 +++++++++++++++++ hamilton/function_modifiers/__init__.py | 17 +++++++++++++++++ hamilton/io/__init__.py | 17 +++++++++++++++++ hamilton/lifecycle/__init__.py | 17 +++++++++++++++++ hamilton/plugins/h_experiments/__init__.py | 17 +++++++++++++++++ 8 files changed, 136 insertions(+) diff --git a/contrib/hamilton/contrib/__init__.py b/contrib/hamilton/contrib/__init__.py index 49bd947d..951292d1 100644 --- a/contrib/hamilton/contrib/__init__.py +++ b/contrib/hamilton/contrib/__init__.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF 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 logging from contextlib import contextmanager diff --git a/hamilton/__init__.py b/hamilton/__init__.py index a302407d..f0816404 100644 --- a/hamilton/__init__.py +++ b/hamilton/__init__.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF 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. + try: from .version import VERSION as __version__ # noqa: F401 except ImportError: diff --git a/hamilton/common/__init__.py b/hamilton/common/__init__.py index 45921f04..02b183b3 100644 --- a/hamilton/common/__init__.py +++ b/hamilton/common/__init__.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF 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. + # code in this module should no depend on much from typing import Any, Callable, List, Optional, Set, Tuple, Union diff --git a/hamilton/dataflows/__init__.py b/hamilton/dataflows/__init__.py index 0d13d4e5..cae9df9d 100644 --- a/hamilton/dataflows/__init__.py +++ b/hamilton/dataflows/__init__.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF 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. + """ This module houses functions and tools to interact with off-the-shelf dataflows. diff --git a/hamilton/function_modifiers/__init__.py b/hamilton/function_modifiers/__init__.py index 1e27fc90..0def9cef 100644 --- a/hamilton/function_modifiers/__init__.py +++ b/hamilton/function_modifiers/__init__.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF 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 logging from . import ( diff --git a/hamilton/io/__init__.py b/hamilton/io/__init__.py index 7f266478..617fca5f 100644 --- a/hamilton/io/__init__.py +++ b/hamilton/io/__init__.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF 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 logging from hamilton.io.default_data_loaders import DATA_ADAPTERS diff --git a/hamilton/lifecycle/__init__.py b/hamilton/lifecycle/__init__.py index 68f04859..ec9779cf 100644 --- a/hamilton/lifecycle/__init__.py +++ b/hamilton/lifecycle/__init__.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF 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 .api import ( # noqa: F401 EdgeConnectionHook, GraphAdapter, diff --git a/hamilton/plugins/h_experiments/__init__.py b/hamilton/plugins/h_experiments/__init__.py index 8844c78f..28eef6bc 100644 --- a/hamilton/plugins/h_experiments/__init__.py +++ b/hamilton/plugins/h_experiments/__init__.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF 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 hamilton.plugins.h_experiments.hook import ExperimentTracker __all__ = [
