Skip to content

chore(typing): move backwards compat types to shared types #3092

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prev Previous commit
Next Next commit
chore: fix generics typing leftover
  • Loading branch information
heitorlessa committed Sep 14, 2023
commit d5a19bcffc41e8d0a218847bfacec9626401209c
16 changes: 14 additions & 2 deletions aws_lambda_powertools/utilities/streaming/s3_object.py
Original file line number Diff line number Diff line change
@@ -1,9 +1,21 @@
from __future__ import annotations

import io
from typing import IO, TYPE_CHECKING, Any, Optional, TypeVar, Union, cast, overload
from typing import (
IO,
TYPE_CHECKING,
Any,
Iterable,
List,
Literal,
Optional,
Sequence,
TypeVar,
Union,
cast,
overload,
)

from aws_lambda_powertools.shared.types import Iterable, List, Literal, Sequence
from aws_lambda_powertools.utilities.streaming._s3_seekable_io import _S3SeekableIO
from aws_lambda_powertools.utilities.streaming.transformations import (
CsvTransform,
Expand Down