Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update license header in each file to reflect MIT license #61

Merged
merged 4 commits into from
Sep 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/comet_llm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/comet_llm/app.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/comet_llm/chains/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
# *******************************************************
4 changes: 2 additions & 2 deletions src/comet_llm/chains/api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/comet_llm/chains/chain.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/comet_llm/chains/context.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/comet_llm/chains/deepmerge.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/comet_llm/chains/span.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/comet_llm/chains/state.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/comet_llm/chains/thread_context_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/comet_llm/chains/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 2 additions & 2 deletions src/comet_llm/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/comet_llm/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/comet_llm/datetimes.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/comet_llm/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
# *******************************************************


Expand Down
4 changes: 2 additions & 2 deletions src/comet_llm/experiment_api/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
6 changes: 3 additions & 3 deletions src/comet_llm/experiment_api/comet_api_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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()


Expand Down
4 changes: 2 additions & 2 deletions src/comet_llm/experiment_api/experiment_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/comet_llm/experiment_api/request_exception_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
# *******************************************************


Expand Down
4 changes: 2 additions & 2 deletions src/comet_llm/experiment_info.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/comet_llm/import_hooks/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
# *******************************************************
4 changes: 2 additions & 2 deletions src/comet_llm/import_hooks/callable_extenders.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/comet_llm/import_hooks/callback_runners.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/comet_llm/import_hooks/finder.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/comet_llm/import_hooks/module_extension.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/comet_llm/import_hooks/module_loader.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/comet_llm/import_hooks/patcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/comet_llm/import_hooks/registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/comet_llm/import_hooks/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/comet_llm/import_hooks/validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/comet_llm/import_hooks/wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/comet_llm/llm_result.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/comet_llm/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/comet_llm/logs_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions src/comet_llm/prompts/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.
# *******************************************************
Loading