Skip to content

Commit bb8f186

Browse files
authored
Add MIT License section to README and copyright headers to all source… (#283)
- Added License section to README.md referencing MIT License - Added Meta Platforms copyright headers to 341 Python and shell script files - Ensures OSS compliance with Meta's requirements
1 parent 37777d0 commit bb8f186

File tree

373 files changed

+2237
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

373 files changed

+2237
-2
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,4 +473,8 @@ print(llama_stack_client.__version__)
473473

474474
## Requirements
475475

476-
Python 3.10 or higher.
476+
Python 3.12 or higher.
477+
478+
## License
479+
480+
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.

scripts/utils/ruffen-docs.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
# All rights reserved.
3+
#
4+
# This source code is licensed under the terms described in the LICENSE file in
5+
# the root directory of this source tree.
6+
17
# fork of https://github.com/asottile/blacken-docs adapted for ruff
28
from __future__ import annotations
39

scripts/utils/upload-artifact.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
1-
#!/usr/bin/env bash
1+
#!/bin/bash
2+
# Copyright (c) Meta Platforms, Inc. and affiliates.
3+
# All rights reserved.
4+
#
5+
# This source code is licensed under the terms described in the LICENSE file in
6+
# the root directory of this source tree.
7+
28
set -exuo pipefail
39

410
FILENAME=$(basename dist/*.whl)

src/llama_stack_client/__init__.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
# All rights reserved.
3+
#
4+
# This source code is licensed under the terms described in the LICENSE file in
5+
# the root directory of this source tree.
6+
17
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
28

39
import typing as _t

src/llama_stack_client/_base_client.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
# All rights reserved.
3+
#
4+
# This source code is licensed under the terms described in the LICENSE file in
5+
# the root directory of this source tree.
6+
17
from __future__ import annotations
28

39
import sys

src/llama_stack_client/_client.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
# All rights reserved.
3+
#
4+
# This source code is licensed under the terms described in the LICENSE file in
5+
# the root directory of this source tree.
6+
17
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
28

39
from __future__ import annotations

src/llama_stack_client/_compat.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
# All rights reserved.
3+
#
4+
# This source code is licensed under the terms described in the LICENSE file in
5+
# the root directory of this source tree.
6+
17
from __future__ import annotations
28

39
from typing import TYPE_CHECKING, Any, Union, Generic, TypeVar, Callable, cast, overload

src/llama_stack_client/_constants.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
# All rights reserved.
3+
#
4+
# This source code is licensed under the terms described in the LICENSE file in
5+
# the root directory of this source tree.
6+
17
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
28

39
import httpx

src/llama_stack_client/_exceptions.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
# All rights reserved.
3+
#
4+
# This source code is licensed under the terms described in the LICENSE file in
5+
# the root directory of this source tree.
6+
17
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
28

39
from __future__ import annotations

src/llama_stack_client/_files.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Copyright (c) Meta Platforms, Inc. and affiliates.
2+
# All rights reserved.
3+
#
4+
# This source code is licensed under the terms described in the LICENSE file in
5+
# the root directory of this source tree.
6+
17
from __future__ import annotations
28

39
import io

0 commit comments

Comments
 (0)