diff --git a/python/fate_client/pipeline/__init__.py b/python/fate_client/pipeline/__init__.py index 6a22a75772..37754885de 100644 --- a/python/fate_client/pipeline/__init__.py +++ b/python/fate_client/pipeline/__init__.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 .pipeline import FateFlowPipeline, StandalonePipeline __all__ = [ diff --git a/python/fate_client/pipeline/component_define/__init__.py b/python/fate_client/pipeline/component_define/__init__.py index e69de29bb2..ae946a49c4 100644 --- a/python/fate_client/pipeline/component_define/__init__.py +++ b/python/fate_client/pipeline/component_define/__init__.py @@ -0,0 +1,14 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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/python/fate_client/pipeline/component_define/fate/__init__.py b/python/fate_client/pipeline/component_define/fate/__init__.py index e69de29bb2..ae946a49c4 100644 --- a/python/fate_client/pipeline/component_define/fate/__init__.py +++ b/python/fate_client/pipeline/component_define/fate/__init__.py @@ -0,0 +1,14 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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/python/fate_client/pipeline/components/__init__.py b/python/fate_client/pipeline/components/__init__.py index fa20cf9c15..59d0f2e21a 100644 --- a/python/fate_client/pipeline/components/__init__.py +++ b/python/fate_client/pipeline/components/__init__.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 .component_base import Component __all__ = ["Component", diff --git a/python/fate_client/pipeline/components/component_base.py b/python/fate_client/pipeline/components/component_base.py index 640bf74a14..ca05f15b18 100644 --- a/python/fate_client/pipeline/components/component_base.py +++ b/python/fate_client/pipeline/components/component_base.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 copy from ..conf.types import SupportRole, PlaceHolder, ArtifactSourceType from ..conf.job_configuration import TaskConf diff --git a/python/fate_client/pipeline/components/fate/__init__.py b/python/fate_client/pipeline/components/fate/__init__.py index 28ff8c249f..231f79d5b1 100644 --- a/python/fate_client/pipeline/components/fate/__init__.py +++ b/python/fate_client/pipeline/components/fate/__init__.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 .evaluation import Evaluation from .feature_scale import FeatureScale from .lr import HeteroLR diff --git a/python/fate_client/pipeline/components/fate/evaluation.py b/python/fate_client/pipeline/components/fate/evaluation.py index b6d6d7cb11..d0d181f893 100644 --- a/python/fate_client/pipeline/components/fate/evaluation.py +++ b/python/fate_client/pipeline/components/fate/evaluation.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 typing import List from ...conf.types import PlaceHolder from ..component_base import Component diff --git a/python/fate_client/pipeline/components/fate/feature_scale.py b/python/fate_client/pipeline/components/fate/feature_scale.py index 86e07594a2..49938ac9f9 100644 --- a/python/fate_client/pipeline/components/fate/feature_scale.py +++ b/python/fate_client/pipeline/components/fate/feature_scale.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 typing import List from ...conf.types import PlaceHolder from ..component_base import Component diff --git a/python/fate_client/pipeline/components/fate/intersection.py b/python/fate_client/pipeline/components/fate/intersection.py index d69a544235..e2abc941a5 100644 --- a/python/fate_client/pipeline/components/fate/intersection.py +++ b/python/fate_client/pipeline/components/fate/intersection.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 typing import List from ...conf.types import PlaceHolder from ..component_base import Component diff --git a/python/fate_client/pipeline/components/fate/lr.py b/python/fate_client/pipeline/components/fate/lr.py index 81554b55e6..04b367fbe8 100644 --- a/python/fate_client/pipeline/components/fate/lr.py +++ b/python/fate_client/pipeline/components/fate/lr.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 typing import List from ...conf.types import PlaceHolder from ..component_base import Component diff --git a/python/fate_client/pipeline/components/fate/reader.py b/python/fate_client/pipeline/components/fate/reader.py index 9a3f722309..1d4467dba0 100644 --- a/python/fate_client/pipeline/components/fate/reader.py +++ b/python/fate_client/pipeline/components/fate/reader.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 typing import List from ...conf.types import PlaceHolder from ..component_base import Component diff --git a/python/fate_client/pipeline/components/template/__init__.py b/python/fate_client/pipeline/components/template/__init__.py index e69de29bb2..ae946a49c4 100644 --- a/python/fate_client/pipeline/components/template/__init__.py +++ b/python/fate_client/pipeline/components/template/__init__.py @@ -0,0 +1,14 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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/python/fate_client/pipeline/conf/__init__.py b/python/fate_client/pipeline/conf/__init__.py index e69de29bb2..ae946a49c4 100644 --- a/python/fate_client/pipeline/conf/__init__.py +++ b/python/fate_client/pipeline/conf/__init__.py @@ -0,0 +1,14 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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/python/fate_client/pipeline/conf/job_configuration.py b/python/fate_client/pipeline/conf/job_configuration.py index 85fc885d2b..6a8afc2973 100644 --- a/python/fate_client/pipeline/conf/job_configuration.py +++ b/python/fate_client/pipeline/conf/job_configuration.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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. class JobConf(object): def __init__(self): self._conf = dict() diff --git a/python/fate_client/pipeline/conf/types.py b/python/fate_client/pipeline/conf/types.py index 83ff4575e5..31d5b8ffa9 100644 --- a/python/fate_client/pipeline/conf/types.py +++ b/python/fate_client/pipeline/conf/types.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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. class JobStage(object): TRAIN = "train" PREDICT = "predict" diff --git a/python/fate_client/pipeline/entity/__init__.py b/python/fate_client/pipeline/entity/__init__.py index 4b39f4c95b..6445d5b528 100644 --- a/python/fate_client/pipeline/entity/__init__.py +++ b/python/fate_client/pipeline/entity/__init__.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 .dag import DAG from .task_info import FateFlowTaskInfo, StandaloneTaskInfo diff --git a/python/fate_client/pipeline/entity/component_structures.py b/python/fate_client/pipeline/entity/component_structures.py index f62c40834b..4605bcbf69 100644 --- a/python/fate_client/pipeline/entity/component_structures.py +++ b/python/fate_client/pipeline/entity/component_structures.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 typing import Optional, Dict, List, Union, Any from pathlib import Path from pydantic import BaseModel diff --git a/python/fate_client/pipeline/entity/dag.py b/python/fate_client/pipeline/entity/dag.py index f0f3a3157a..1157f48f3c 100644 --- a/python/fate_client/pipeline/entity/dag.py +++ b/python/fate_client/pipeline/entity/dag.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 .runtime_entity import PartySpec from .dag_structures import RuntimeInputDefinition, DAGSpec, DAGSchema, \ TaskSpec, PartyTaskRefSpec, PartyTaskSpec, JobConfSpec diff --git a/python/fate_client/pipeline/entity/dag_structures.py b/python/fate_client/pipeline/entity/dag_structures.py index c40e3b52d8..4956985770 100644 --- a/python/fate_client/pipeline/entity/dag_structures.py +++ b/python/fate_client/pipeline/entity/dag_structures.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 pydantic import BaseModel from typing import Optional, Literal, List, Union, Dict, Any, TypeVar diff --git a/python/fate_client/pipeline/entity/model_info.py b/python/fate_client/pipeline/entity/model_info.py index dc48a5ec09..66ce7e02b1 100644 --- a/python/fate_client/pipeline/entity/model_info.py +++ b/python/fate_client/pipeline/entity/model_info.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 typing import Dict diff --git a/python/fate_client/pipeline/entity/runtime_entity.py b/python/fate_client/pipeline/entity/runtime_entity.py index 571f6a67ea..afaa53cc8a 100644 --- a/python/fate_client/pipeline/entity/runtime_entity.py +++ b/python/fate_client/pipeline/entity/runtime_entity.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 .dag_structures import PartySpec diff --git a/python/fate_client/pipeline/entity/task_info.py b/python/fate_client/pipeline/entity/task_info.py index cdc0e7d50d..4feba150a7 100644 --- a/python/fate_client/pipeline/entity/task_info.py +++ b/python/fate_client/pipeline/entity/task_info.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 abc import typing from .model_info import StandaloneModelInfo, FateFlowModelInfo diff --git a/python/fate_client/pipeline/entity/task_structure.py b/python/fate_client/pipeline/entity/task_structure.py index b9b5dba9d7..04f8bdede8 100644 --- a/python/fate_client/pipeline/entity/task_structure.py +++ b/python/fate_client/pipeline/entity/task_structure.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 pydantic import BaseModel from typing import Dict, Optional, Union, Any, List diff --git a/python/fate_client/pipeline/executor/__init__.py b/python/fate_client/pipeline/executor/__init__.py index 3358b12227..06b43c5bb7 100644 --- a/python/fate_client/pipeline/executor/__init__.py +++ b/python/fate_client/pipeline/executor/__init__.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 .task_executor import StandaloneExecutor from .task_executor import FateFlowExecutor diff --git a/python/fate_client/pipeline/executor/task_executor.py b/python/fate_client/pipeline/executor/task_executor.py index c050acb589..15b8a3f6b9 100644 --- a/python/fate_client/pipeline/executor/task_executor.py +++ b/python/fate_client/pipeline/executor/task_executor.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 typing import Dict from ..conf.env_config import LogPath diff --git a/python/fate_client/pipeline/interface/__init__.py b/python/fate_client/pipeline/interface/__init__.py index 481add6804..8f7e8259b5 100644 --- a/python/fate_client/pipeline/interface/__init__.py +++ b/python/fate_client/pipeline/interface/__init__.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 .channel import ArtifactChannel diff --git a/python/fate_client/pipeline/interface/channel.py b/python/fate_client/pipeline/interface/channel.py index 59b1b70a12..0c31b43218 100644 --- a/python/fate_client/pipeline/interface/channel.py +++ b/python/fate_client/pipeline/interface/channel.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 abc from typing import Dict, List, Optional, Union diff --git a/python/fate_client/pipeline/manager/__init__.py b/python/fate_client/pipeline/manager/__init__.py index 7b2ea7a6ac..9c2368a139 100644 --- a/python/fate_client/pipeline/manager/__init__.py +++ b/python/fate_client/pipeline/manager/__init__.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 .data_manager import get_data_manager from .model_manager import get_model_manager from .metric_manager import get_metric_manager diff --git a/python/fate_client/pipeline/manager/data_manager.py b/python/fate_client/pipeline/manager/data_manager.py index 4720ab9f48..c927cf9603 100644 --- a/python/fate_client/pipeline/manager/data_manager.py +++ b/python/fate_client/pipeline/manager/data_manager.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 json import pandas as pd from typing import Union diff --git a/python/fate_client/pipeline/manager/metric_manager.py b/python/fate_client/pipeline/manager/metric_manager.py index 54561d534f..0f2804ea40 100644 --- a/python/fate_client/pipeline/manager/metric_manager.py +++ b/python/fate_client/pipeline/manager/metric_manager.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 json from typing import Union from ..utils.uri_tools import parse_uri, replace_uri_path, get_schema_from_uri diff --git a/python/fate_client/pipeline/manager/model_manager.py b/python/fate_client/pipeline/manager/model_manager.py index d483c9fa1a..262bff349e 100644 --- a/python/fate_client/pipeline/manager/model_manager.py +++ b/python/fate_client/pipeline/manager/model_manager.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 json import os import tarfile diff --git a/python/fate_client/pipeline/manager/resource_manager.py b/python/fate_client/pipeline/manager/resource_manager.py index ce40294d8d..dc1aa6a7aa 100644 --- a/python/fate_client/pipeline/manager/resource_manager.py +++ b/python/fate_client/pipeline/manager/resource_manager.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 ..utils.standalone.id_gen import get_uuid from ..utils.file_utils import construct_local_dir from ..conf.env_config import StandaloneConfig diff --git a/python/fate_client/pipeline/manager/status_manager.py b/python/fate_client/pipeline/manager/status_manager.py index 1a5a73cdc5..d98931eea9 100644 --- a/python/fate_client/pipeline/manager/status_manager.py +++ b/python/fate_client/pipeline/manager/status_manager.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 json from ml_metadata import metadata_store from ml_metadata.proto import metadata_store_pb2 diff --git a/python/fate_client/pipeline/manager/task_conf_manager.py b/python/fate_client/pipeline/manager/task_conf_manager.py index 41c7a9b684..398b92dcfc 100644 --- a/python/fate_client/pipeline/manager/task_conf_manager.py +++ b/python/fate_client/pipeline/manager/task_conf_manager.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 ..utils.uri_tools import parse_uri, get_schema_from_uri from ..utils.file_utils import construct_local_file, write_yaml_file from ..conf.types import UriTypes diff --git a/python/fate_client/pipeline/pipeline.py b/python/fate_client/pipeline/pipeline.py index 5dea575d1c..04e0ab1316 100644 --- a/python/fate_client/pipeline/pipeline.py +++ b/python/fate_client/pipeline/pipeline.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 copy from typing import Union import yaml diff --git a/python/fate_client/pipeline/scheduler/__init__.py b/python/fate_client/pipeline/scheduler/__init__.py index e69de29bb2..ae946a49c4 100644 --- a/python/fate_client/pipeline/scheduler/__init__.py +++ b/python/fate_client/pipeline/scheduler/__init__.py @@ -0,0 +1,14 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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/python/fate_client/pipeline/scheduler/component_stage.py b/python/fate_client/pipeline/scheduler/component_stage.py index 0a4603da35..aa2e646d85 100644 --- a/python/fate_client/pipeline/scheduler/component_stage.py +++ b/python/fate_client/pipeline/scheduler/component_stage.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 typing import Dict from ..entity.component_structures import ArtifactSpec diff --git a/python/fate_client/pipeline/scheduler/dag_parser.py b/python/fate_client/pipeline/scheduler/dag_parser.py index fbc62f1d11..4cf8d76e6b 100644 --- a/python/fate_client/pipeline/scheduler/dag_parser.py +++ b/python/fate_client/pipeline/scheduler/dag_parser.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 copy import networkx as nx diff --git a/python/fate_client/pipeline/scheduler/runtime_constructor.py b/python/fate_client/pipeline/scheduler/runtime_constructor.py index 455c849e7f..dac5896893 100644 --- a/python/fate_client/pipeline/scheduler/runtime_constructor.py +++ b/python/fate_client/pipeline/scheduler/runtime_constructor.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 ..conf.env_config import StandaloneConfig from ..conf.types import ArtifactType from ..entity.dag_structures import RuntimeTaskOutputChannelSpec diff --git a/python/fate_client/pipeline/test/__init__.py b/python/fate_client/pipeline/test/__init__.py index e69de29bb2..ae946a49c4 100644 --- a/python/fate_client/pipeline/test/__init__.py +++ b/python/fate_client/pipeline/test/__init__.py @@ -0,0 +1,14 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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/python/fate_client/pipeline/test/test_dag.py b/python/fate_client/pipeline/test/test_dag.py index e33151b620..185b3f129c 100644 --- a/python/fate_client/pipeline/test/test_dag.py +++ b/python/fate_client/pipeline/test/test_dag.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 pipeline.components.fate import HeteroLR from pipeline.components.fate import Reader from pipeline.components.fate import FeatureScale diff --git a/python/fate_client/pipeline/test/test_dag_flow.py b/python/fate_client/pipeline/test/test_dag_flow.py index 2bc66d314d..5773d2db5a 100644 --- a/python/fate_client/pipeline/test/test_dag_flow.py +++ b/python/fate_client/pipeline/test/test_dag_flow.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 pipeline.components.fate import HeteroLR from pipeline.components.fate import Reader from pipeline.components.fate import FeatureScale diff --git a/python/fate_client/pipeline/test/test_predict_dag.py b/python/fate_client/pipeline/test/test_predict_dag.py index d7b7f0baaa..07e4696696 100644 --- a/python/fate_client/pipeline/test/test_predict_dag.py +++ b/python/fate_client/pipeline/test/test_predict_dag.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 pipeline.components.fate import Reader from pipeline.components.fate import Intersection from pipeline.pipeline import StandalonePipeline diff --git a/python/fate_client/pipeline/test/test_predict_dag_flow.py b/python/fate_client/pipeline/test/test_predict_dag_flow.py index e73832a0a8..262078c998 100644 --- a/python/fate_client/pipeline/test/test_predict_dag_flow.py +++ b/python/fate_client/pipeline/test/test_predict_dag_flow.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 pipeline.components.fate import Reader from pipeline.components.fate import Intersection from pipeline.pipeline import FateFlowPipeline diff --git a/python/fate_client/pipeline/test/test_upload.py b/python/fate_client/pipeline/test/test_upload.py index 3fe0a8def1..06c60bfb65 100644 --- a/python/fate_client/pipeline/test/test_upload.py +++ b/python/fate_client/pipeline/test/test_upload.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 pipeline.pipeline import FateFlowPipeline pipeline = FateFlowPipeline() diff --git a/python/fate_client/pipeline/utils/__init__.py b/python/fate_client/pipeline/utils/__init__.py index e69de29bb2..ae946a49c4 100644 --- a/python/fate_client/pipeline/utils/__init__.py +++ b/python/fate_client/pipeline/utils/__init__.py @@ -0,0 +1,14 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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/python/fate_client/pipeline/utils/fateflow/__init__.py b/python/fate_client/pipeline/utils/fateflow/__init__.py index e69de29bb2..ae946a49c4 100644 --- a/python/fate_client/pipeline/utils/fateflow/__init__.py +++ b/python/fate_client/pipeline/utils/fateflow/__init__.py @@ -0,0 +1,14 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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/python/fate_client/pipeline/utils/fateflow/fate_flow_job_invoker.py b/python/fate_client/pipeline/utils/fateflow/fate_flow_job_invoker.py index d5c5573198..088b78f540 100644 --- a/python/fate_client/pipeline/utils/fateflow/fate_flow_job_invoker.py +++ b/python/fate_client/pipeline/utils/fateflow/fate_flow_job_invoker.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 time from datetime import timedelta from .flow_client import FlowClient diff --git a/python/fate_client/pipeline/utils/fateflow/flow_client.py b/python/fate_client/pipeline/utils/fateflow/flow_client.py index e057e2ca2e..9bb88ba8d7 100644 --- a/python/fate_client/pipeline/utils/fateflow/flow_client.py +++ b/python/fate_client/pipeline/utils/fateflow/flow_client.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 requests diff --git a/python/fate_client/pipeline/utils/file_utils.py b/python/fate_client/pipeline/utils/file_utils.py index 2251a8c783..1e59f72d3b 100644 --- a/python/fate_client/pipeline/utils/file_utils.py +++ b/python/fate_client/pipeline/utils/file_utils.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 json import typing from pathlib import Path diff --git a/python/fate_client/pipeline/utils/standalone/__init__.py b/python/fate_client/pipeline/utils/standalone/__init__.py index e69de29bb2..ae946a49c4 100644 --- a/python/fate_client/pipeline/utils/standalone/__init__.py +++ b/python/fate_client/pipeline/utils/standalone/__init__.py @@ -0,0 +1,14 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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/python/fate_client/pipeline/utils/standalone/id_gen.py b/python/fate_client/pipeline/utils/standalone/id_gen.py index 7de60089ce..f496b24838 100644 --- a/python/fate_client/pipeline/utils/standalone/id_gen.py +++ b/python/fate_client/pipeline/utils/standalone/id_gen.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 time import random import uuid diff --git a/python/fate_client/pipeline/utils/standalone/job_process.py b/python/fate_client/pipeline/utils/standalone/job_process.py index 444af461b8..d9322b7e13 100644 --- a/python/fate_client/pipeline/utils/standalone/job_process.py +++ b/python/fate_client/pipeline/utils/standalone/job_process.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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 copy import multiprocessing import os diff --git a/python/fate_client/pipeline/utils/uri_tools.py b/python/fate_client/pipeline/utils/uri_tools.py index d7b4eb0bfd..0c365775d9 100644 --- a/python/fate_client/pipeline/utils/uri_tools.py +++ b/python/fate_client/pipeline/utils/uri_tools.py @@ -1,3 +1,17 @@ +# +# Copyright 2019 The FATE Authors. All Rights Reserved. +# +# 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. """ this file aims to process uri """