You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: metadata-ingestion/src/datahub/ingestion/source/aws/aws_common.py
+13-1
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
fromdatetimeimportdatetime, timedelta, timezone
2
-
fromtypingimportTYPE_CHECKING, Any, Dict, List, Optional, Union
2
+
fromtypingimportTYPE_CHECKING, Any, Dict, List, Literal, Optional, Union
3
3
4
4
importboto3
5
5
fromboto3.sessionimportSession
@@ -107,6 +107,14 @@ class AwsConnectionConfig(ConfigModel):
107
107
default=None,
108
108
description="A set of proxy configs to use with AWS. See the [botocore.config](https://botocore.amazonaws.com/v1/documentation/api/latest/reference/config.html) docs for details.",
109
109
)
110
+
aws_retry_num: int=Field(
111
+
default=5,
112
+
description="Number of times to retry failed AWS requests. See the [botocore.retry](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/retries.html) docs for details.",
description="Retry mode to use for failed AWS requests. See the [botocore.retry](https://boto3.amazonaws.com/v1/documentation/api/latest/guide/retries.html) docs for details.",
0 commit comments