Skip to content

Commit 98d32ae

Browse files
committed
Add Apache-2.0 headers to smithy-core
1 parent 560fe38 commit 98d32ae

File tree

9 files changed

+18
-0
lines changed

9 files changed

+18
-0
lines changed

packages/smithy-core/src/smithy_core/codecs.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0
13
from io import BytesIO
24
from typing import TYPE_CHECKING, Protocol, runtime_checkable
35

packages/smithy-core/src/smithy_core/deserializers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0
13
import datetime
24
from collections.abc import Callable
35
from decimal import Decimal

packages/smithy-core/src/smithy_core/documents.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0
13
import datetime
24
from collections.abc import Callable, Iterator, Mapping, Sequence
35
from contextlib import contextmanager

packages/smithy-core/src/smithy_core/serializers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0
13
import datetime
24
from abc import ABCMeta, abstractmethod
35
from collections.abc import Callable, Iterator

packages/smithy-core/src/smithy_core/shapes.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0
13
from enum import Enum
24
from typing import Self
35

packages/smithy-core/tests/unit/test_documents.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0
13
# pyright: reportPrivateUsage=false
24
from dataclasses import dataclass, replace
35
from datetime import datetime

packages/smithy-core/tests/unit/test_schemas.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0
13
from dataclasses import replace
24
from typing import Any
35

packages/smithy-core/tests/unit/test_shapes.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0
13
import pytest
24
from smithy_core.exceptions import ExpectationNotMetError, SmithyError
35
from smithy_core.shapes import ShapeID

packages/smithy-core/tests/unit/test_type_registry.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
# Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
2+
# SPDX-License-Identifier: Apache-2.0
13
import pytest
24
from smithy_core.deserializers import DeserializeableShape, ShapeDeserializer
35
from smithy_core.documents import Document, TypeRegistry

0 commit comments

Comments
 (0)