Skip to content

Commit

Permalink
Fix mypy errors
Browse files Browse the repository at this point in the history
  • Loading branch information
seshubaws committed Nov 14, 2023
1 parent 1609105 commit 65a9e9f
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion examples/data_masking/src/custom_provider.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from itsdangerous.url_safe import URLSafeSerializer

from aws_lambda_powertools.utilities.data_masking.provider import BaseProvider
from aws_lambda_powertools.utilities._data_masking.provider import BaseProvider


class MyCustomEncryption(BaseProvider):
Expand Down
4 changes: 2 additions & 2 deletions examples/data_masking/src/data_masking_function_example.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import os

from aws_lambda_powertools import Logger, Tracer
from aws_lambda_powertools.utilities.data_masking import DataMasking
from aws_lambda_powertools.utilities.data_masking.provider.kms.aws_encryption_sdk import AwsEncryptionSdkProvider
from aws_lambda_powertools.utilities._data_masking import DataMasking
from aws_lambda_powertools.utilities._data_masking.provider.kms.aws_encryption_sdk import AwsEncryptionSdkProvider
from aws_lambda_powertools.utilities.typing import LambdaContext

KMS_KEY_ARN = os.environ["KMS_KEY_ARN"]
Expand Down
4 changes: 2 additions & 2 deletions examples/data_masking/src/getting_started_encrypt_data.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os

from aws_lambda_powertools.utilities.data_masking import DataMasking
from aws_lambda_powertools.utilities.data_masking.provider.kms.aws_encryption_sdk import AwsEncryptionSdkProvider
from aws_lambda_powertools.utilities._data_masking import DataMasking
from aws_lambda_powertools.utilities._data_masking.provider.kms.aws_encryption_sdk import AwsEncryptionSdkProvider

KMS_KEY_ARN = os.environ["KMS_KEY_ARN"]

Expand Down
2 changes: 1 addition & 1 deletion examples/data_masking/src/getting_started_mask_data.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from aws_lambda_powertools.utilities.data_masking import DataMasking
from aws_lambda_powertools.utilities._data_masking import DataMasking


def lambda_handler(event, context):
Expand Down
2 changes: 1 addition & 1 deletion examples/data_masking/src/working_with_own_provider.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from aws_lambda_powertools.utilities.data_masking.base import DataMasking
from aws_lambda_powertools.utilities._data_masking.base import DataMasking
from examples.data_masking.src.custom_provider import MyCustomEncryption


Expand Down
6 changes: 3 additions & 3 deletions examples/data_masking/tests/src/single_mock.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
import base64
from typing import Any, Callable, Dict, Union

from aws_lambda_powertools.utilities.data_masking.base import DataMasking
from aws_lambda_powertools.utilities.data_masking.provider import BaseProvider
from aws_lambda_powertools.utilities.data_masking.provider.kms.aws_encryption_sdk import AwsEncryptionSdkProvider
from aws_lambda_powertools.utilities._data_masking.base import DataMasking
from aws_lambda_powertools.utilities._data_masking.provider import BaseProvider
from aws_lambda_powertools.utilities._data_masking.provider.kms.aws_encryption_sdk import AwsEncryptionSdkProvider


class FakeEncryptionKeyProvider(BaseProvider):
Expand Down

0 comments on commit 65a9e9f

Please sign in to comment.