Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update doc string, use None as retries default
Signed-off-by: Sebastian Jäger <sebastjaeger@gmail.com>
  • Loading branch information
sebastjaeger committed Mar 24, 2025
commit 5c844b78cf88348d0e699a5035688d8fbcc0499b
6 changes: 2 additions & 4 deletions sdk/python/feast/infra/online_stores/dynamodb.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,9 +96,7 @@ class DynamoDBOnlineStoreConfig(FeastConfigBaseModel):
total_max_retry_attempts: Union[int, None] = None
"""Maximum number of total attempts that will be made on a single request.

Maps to `retries.total_max_attempts` in botocore.config.Config. Cf.
https://github.com/boto/botocore/blob/dd8406d5fa1df18037d1dd2977aec47334f7e3ce/botocore/args.py#L558
as for why `retries.max_attempts` is not exposed here.
Maps to `retries.total_max_attempts` in botocore.config.Config.
"""

retry_mode: Union[Literal["legacy", "standard", "adaptive"], None] = None
Expand Down Expand Up @@ -607,7 +605,7 @@ async def _get_aiodynamodb_client(
max_pool_connections=max_pool_connections,
connect_timeout=connect_timeout,
read_timeout=read_timeout,
retries=retries,
retries=retries if retries else None,
connector_args={"keepalive_timeout": keepalive_timeout},
),
)
Expand Down
Loading