We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ed08cf commit 9c2b1cfCopy full SHA for 9c2b1cf
src/smexperiments/trial_component.py
@@ -12,6 +12,7 @@
12
# language governing permissions and limitations under the License.
13
"""Contains the TrialComponent class."""
14
from smexperiments import _base_types, api_types
15
+import time
16
17
18
class TrialComponent(_base_types.Record):
@@ -127,6 +128,8 @@ def delete(self, force_disassociate=None):
127
128
129
# Disassociate the trials and trial components
130
for trial in list_trials_response["TrialSummaries"]:
131
+ # to prevent DisassociateTrialComponent throttling
132
+ time.sleep(1.2)
133
self.sagemaker_boto_client.disassociate_trial_component(
134
TrialName=trial["TrialName"], TrialComponentName=self.trial_component_name
135
)
0 commit comments