diff --git a/setup.py b/setup.py index 805537087..7da801020 100644 --- a/setup.py +++ b/setup.py @@ -9,8 +9,8 @@ # # Sign up for free at http://www.comet.ml # Copyright (C) 2015-2021 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* from pathlib import Path diff --git a/src/comet_llm/__init__.py b/src/comet_llm/__init__.py index 71e1799bf..c40174608 100644 --- a/src/comet_llm/__init__.py +++ b/src/comet_llm/__init__.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* from . import app, logging diff --git a/src/comet_llm/app.py b/src/comet_llm/app.py index 9ade2da57..adc894772 100644 --- a/src/comet_llm/app.py +++ b/src/comet_llm/app.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* import atexit diff --git a/src/comet_llm/chains/__init__.py b/src/comet_llm/chains/__init__.py index 95c64cfdf..64306f6a1 100644 --- a/src/comet_llm/chains/__init__.py +++ b/src/comet_llm/chains/__init__.py @@ -8,6 +8,6 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* diff --git a/src/comet_llm/chains/api.py b/src/comet_llm/chains/api.py index 4838248ac..64cd97fec 100644 --- a/src/comet_llm/chains/api.py +++ b/src/comet_llm/chains/api.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* import io diff --git a/src/comet_llm/chains/chain.py b/src/comet_llm/chains/chain.py index b2982361f..632290baf 100644 --- a/src/comet_llm/chains/chain.py +++ b/src/comet_llm/chains/chain.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* import collections diff --git a/src/comet_llm/chains/context.py b/src/comet_llm/chains/context.py index 4572001c4..3b9e8fde9 100644 --- a/src/comet_llm/chains/context.py +++ b/src/comet_llm/chains/context.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* from typing import List diff --git a/src/comet_llm/chains/deepmerge.py b/src/comet_llm/chains/deepmerge.py index 2ebc88c1e..a8abf299d 100644 --- a/src/comet_llm/chains/deepmerge.py +++ b/src/comet_llm/chains/deepmerge.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* import copy diff --git a/src/comet_llm/chains/span.py b/src/comet_llm/chains/span.py index 75410bcc3..a76fd2076 100644 --- a/src/comet_llm/chains/span.py +++ b/src/comet_llm/chains/span.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* from typing import Dict, Optional diff --git a/src/comet_llm/chains/state.py b/src/comet_llm/chains/state.py index 41e87589e..fd5418556 100644 --- a/src/comet_llm/chains/state.py +++ b/src/comet_llm/chains/state.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* import threading diff --git a/src/comet_llm/chains/thread_context_registry.py b/src/comet_llm/chains/thread_context_registry.py index 3bbaa35ca..ae9919849 100644 --- a/src/comet_llm/chains/thread_context_registry.py +++ b/src/comet_llm/chains/thread_context_registry.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* import threading diff --git a/src/comet_llm/chains/version.py b/src/comet_llm/chains/version.py index 7f28f714b..0d491ef9d 100644 --- a/src/comet_llm/chains/version.py +++ b/src/comet_llm/chains/version.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* ASSET_FORMAT_VERSION = 3 diff --git a/src/comet_llm/config.py b/src/comet_llm/config.py index 84295af56..37aecab36 100644 --- a/src/comet_llm/config.py +++ b/src/comet_llm/config.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* import functools diff --git a/src/comet_llm/convert.py b/src/comet_llm/convert.py index 5fdcf17cc..7d47743fe 100644 --- a/src/comet_llm/convert.py +++ b/src/comet_llm/convert.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* from typing import Any, Dict, Optional diff --git a/src/comet_llm/datetimes.py b/src/comet_llm/datetimes.py index 1c8eaaa84..4b9d1c006 100644 --- a/src/comet_llm/datetimes.py +++ b/src/comet_llm/datetimes.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* import calendar diff --git a/src/comet_llm/exceptions.py b/src/comet_llm/exceptions.py index 439d7565a..ad8843607 100644 --- a/src/comet_llm/exceptions.py +++ b/src/comet_llm/exceptions.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* diff --git a/src/comet_llm/experiment_api/__init__.py b/src/comet_llm/experiment_api/__init__.py index a3fe346f6..873f67024 100644 --- a/src/comet_llm/experiment_api/__init__.py +++ b/src/comet_llm/experiment_api/__init__.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* from .experiment_api import ExperimentAPI diff --git a/src/comet_llm/experiment_api/comet_api_client.py b/src/comet_llm/experiment_api/comet_api_client.py index 56c91108b..86b7e6493 100644 --- a/src/comet_llm/experiment_api/comet_api_client.py +++ b/src/comet_llm/experiment_api/comet_api_client.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* import functools @@ -103,7 +103,7 @@ def _request(self, method: str, path: str, *args, **kwargs) -> ResponseContent: url = urllib.parse.urljoin(self._comet_url, path) response = requests.request(method, url, headers=self._headers, *args, **kwargs) response.raise_for_status() - + return response.json() diff --git a/src/comet_llm/experiment_api/experiment_api.py b/src/comet_llm/experiment_api/experiment_api.py index b7a43468e..c6e30904e 100644 --- a/src/comet_llm/experiment_api/experiment_api.py +++ b/src/comet_llm/experiment_api/experiment_api.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* from typing import IO, Any, List, Optional diff --git a/src/comet_llm/experiment_api/request_exception_wrapper.py b/src/comet_llm/experiment_api/request_exception_wrapper.py index f41325e5e..803845dc9 100644 --- a/src/comet_llm/experiment_api/request_exception_wrapper.py +++ b/src/comet_llm/experiment_api/request_exception_wrapper.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* diff --git a/src/comet_llm/experiment_info.py b/src/comet_llm/experiment_info.py index 457da9843..88026bb61 100644 --- a/src/comet_llm/experiment_info.py +++ b/src/comet_llm/experiment_info.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* import dataclasses diff --git a/src/comet_llm/import_hooks/__init__.py b/src/comet_llm/import_hooks/__init__.py index 95c64cfdf..64306f6a1 100644 --- a/src/comet_llm/import_hooks/__init__.py +++ b/src/comet_llm/import_hooks/__init__.py @@ -8,6 +8,6 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* diff --git a/src/comet_llm/import_hooks/callable_extenders.py b/src/comet_llm/import_hooks/callable_extenders.py index eab786dab..78ed91df0 100644 --- a/src/comet_llm/import_hooks/callable_extenders.py +++ b/src/comet_llm/import_hooks/callable_extenders.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* import dataclasses diff --git a/src/comet_llm/import_hooks/callback_runners.py b/src/comet_llm/import_hooks/callback_runners.py index 155537a04..47e592256 100644 --- a/src/comet_llm/import_hooks/callback_runners.py +++ b/src/comet_llm/import_hooks/callback_runners.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* import logging diff --git a/src/comet_llm/import_hooks/finder.py b/src/comet_llm/import_hooks/finder.py index 6c5daea6f..d66bececf 100644 --- a/src/comet_llm/import_hooks/finder.py +++ b/src/comet_llm/import_hooks/finder.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* import sys diff --git a/src/comet_llm/import_hooks/module_extension.py b/src/comet_llm/import_hooks/module_extension.py index 1d109e8ee..c18b778c8 100644 --- a/src/comet_llm/import_hooks/module_extension.py +++ b/src/comet_llm/import_hooks/module_extension.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* from typing import Dict diff --git a/src/comet_llm/import_hooks/module_loader.py b/src/comet_llm/import_hooks/module_loader.py index d3871f62e..fe820c70d 100644 --- a/src/comet_llm/import_hooks/module_loader.py +++ b/src/comet_llm/import_hooks/module_loader.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* import importlib.abc diff --git a/src/comet_llm/import_hooks/patcher.py b/src/comet_llm/import_hooks/patcher.py index 5cc4e5a49..19cdd44d1 100644 --- a/src/comet_llm/import_hooks/patcher.py +++ b/src/comet_llm/import_hooks/patcher.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* import inspect diff --git a/src/comet_llm/import_hooks/registry.py b/src/comet_llm/import_hooks/registry.py index e268fb9d0..64a8a199f 100644 --- a/src/comet_llm/import_hooks/registry.py +++ b/src/comet_llm/import_hooks/registry.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* from typing import Any, Callable, Dict, List diff --git a/src/comet_llm/import_hooks/types.py b/src/comet_llm/import_hooks/types.py index 612f8cb68..562799bcf 100644 --- a/src/comet_llm/import_hooks/types.py +++ b/src/comet_llm/import_hooks/types.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* from typing import Callable diff --git a/src/comet_llm/import_hooks/validate.py b/src/comet_llm/import_hooks/validate.py index 936306354..97a3a0a4f 100644 --- a/src/comet_llm/import_hooks/validate.py +++ b/src/comet_llm/import_hooks/validate.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* from typing import Any diff --git a/src/comet_llm/import_hooks/wrapper.py b/src/comet_llm/import_hooks/wrapper.py index e1b261304..e8b2091aa 100644 --- a/src/comet_llm/import_hooks/wrapper.py +++ b/src/comet_llm/import_hooks/wrapper.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* import functools diff --git a/src/comet_llm/llm_result.py b/src/comet_llm/llm_result.py index 8cb955879..63f4a0f40 100644 --- a/src/comet_llm/llm_result.py +++ b/src/comet_llm/llm_result.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* import dataclasses diff --git a/src/comet_llm/logging.py b/src/comet_llm/logging.py index 2965f22bf..d73a600e1 100644 --- a/src/comet_llm/logging.py +++ b/src/comet_llm/logging.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* import logging diff --git a/src/comet_llm/logs_registry.py b/src/comet_llm/logs_registry.py index 0aec2fc94..ada5ee020 100644 --- a/src/comet_llm/logs_registry.py +++ b/src/comet_llm/logs_registry.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* import collections diff --git a/src/comet_llm/prompts/__init__.py b/src/comet_llm/prompts/__init__.py index 95c64cfdf..64306f6a1 100644 --- a/src/comet_llm/prompts/__init__.py +++ b/src/comet_llm/prompts/__init__.py @@ -8,6 +8,6 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* diff --git a/src/comet_llm/prompts/api.py b/src/comet_llm/prompts/api.py index bfe384832..76544ea16 100644 --- a/src/comet_llm/prompts/api.py +++ b/src/comet_llm/prompts/api.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* import io diff --git a/src/comet_llm/prompts/convert.py b/src/comet_llm/prompts/convert.py index 55c3a2324..261b184c5 100644 --- a/src/comet_llm/prompts/convert.py +++ b/src/comet_llm/prompts/convert.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* from typing import Any, Dict, Optional diff --git a/src/comet_llm/prompts/preprocess.py b/src/comet_llm/prompts/preprocess.py index 5cba80e28..31fc9484e 100644 --- a/src/comet_llm/prompts/preprocess.py +++ b/src/comet_llm/prompts/preprocess.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* from typing import Optional diff --git a/src/comet_llm/summary.py b/src/comet_llm/summary.py index 40f05e19d..997b9ba36 100644 --- a/src/comet_llm/summary.py +++ b/src/comet_llm/summary.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* import logging diff --git a/src/comet_llm/types.py b/src/comet_llm/types.py index cd1d34c0b..c7e442c95 100644 --- a/src/comet_llm/types.py +++ b/src/comet_llm/types.py @@ -8,8 +8,8 @@ # # Sign up for free at https://www.comet.com # Copyright (C) 2015-2023 Comet ML INC -# This file can not be copied and/or distributed without the express -# permission of Comet ML Inc. +# This source code is licensed under the MIT license found in the +# LICENSE file in the root directory of this package. # ******************************************************* from typing import Any