Skip to content

Commit 08bbd8e

Browse files
author
Michael Brewer
committed
chore: Set boto types as Any
1 parent 42df7ef commit 08bbd8e

File tree

4 files changed

+7
-7
lines changed

4 files changed

+7
-7
lines changed

aws_lambda_powertools/utilities/parameters/appconfig.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55

66
import os
7-
from typing import Dict, Optional, Union
7+
from typing import Any, Dict, Optional, Union
88
from uuid import uuid4
99

1010
import boto3
@@ -58,7 +58,7 @@ class AppConfigProvider(BaseProvider):
5858
5959
"""
6060

61-
client = None
61+
client: Any = None
6262

6363
def __init__(self, environment: str, application: Optional[str] = None, config: Optional[Config] = None):
6464
"""

aws_lambda_powertools/utilities/parameters/base.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class BaseProvider(ABC):
2525
Abstract Base Class for Parameter providers
2626
"""
2727

28-
store = None
28+
store: Any = None
2929

3030
def __init__(self):
3131
"""

aws_lambda_powertools/utilities/parameters/secrets.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44

55

6-
from typing import Dict, Optional, Union
6+
from typing import Any, Dict, Optional, Union
77

88
import boto3
99
from botocore.config import Config
@@ -56,7 +56,7 @@ class SecretsProvider(BaseProvider):
5656
My parameter value
5757
"""
5858

59-
client = None
59+
client: Any = None
6060

6161
def __init__(self, config: Optional[Config] = None):
6262
"""

aws_lambda_powertools/utilities/parameters/ssm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"""
44

55

6-
from typing import Dict, Optional, Union
6+
from typing import Any, Dict, Optional, Union
77

88
import boto3
99
from botocore.config import Config
@@ -72,7 +72,7 @@ class SSMProvider(BaseProvider):
7272
/my/path/prefix/c Parameter value c
7373
"""
7474

75-
client = None
75+
client: Any = None
7676

7777
def __init__(self, config: Optional[Config] = None):
7878
"""

0 commit comments

Comments
 (0)