add certs
This commit is contained in:
@@ -5,10 +5,12 @@ import boto3
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from mypy_boto3_dynamodb.client import DynamoDBClient
|
||||
from mypy_boto3_s3 import S3Client
|
||||
from mypy_boto3_sesv2 import SESV2Client
|
||||
else:
|
||||
DynamoDBClient = object
|
||||
SESV2Client = object
|
||||
S3Client = object
|
||||
|
||||
|
||||
def get_dynamodb_client() -> DynamoDBClient:
|
||||
@@ -18,5 +20,6 @@ def get_dynamodb_client() -> DynamoDBClient:
|
||||
return boto3.client('dynamodb', endpoint_url='http://127.0.0.1:8000')
|
||||
|
||||
|
||||
s3_client: S3Client = boto3.client('s3')
|
||||
dynamodb_client: DynamoDBClient = get_dynamodb_client()
|
||||
sesv2_client: SESV2Client = boto3.client('sesv2')
|
||||
|
||||
Reference in New Issue
Block a user