Skip to content

Commit 8401afa

Browse files
author
Piyush Adlakha
committed
Addressing comments for Bug fix for getting dataframes in TrainingJobAnalytics
1 parent 249e0d6 commit 8401afa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sagemaker/analytics.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,10 +246,10 @@ def _determine_timeinterval(self):
246246
"""
247247
description = self._sage_client.describe_training_job(TrainingJobName=self.name)
248248
start_time = description[u'TrainingStartTime'] # datetime object
249-
# Incrementing end time by 1 min since cloud watch drops seconds before finding the logs.
249+
# Incrementing end time by 1 min since CloudWatch drops seconds before finding the logs.
250250
# This results in logs being searched in the time range in which the correct log line was not present.
251251
# Example - Log time - 2018-10-22 08:25:55
252-
# Here calculated end time would also be 2018-10-22 08:25:55 (without 1 min addition)
252+
# Here calculated end time would also be 2018-10-22 08:25:55 (without 1 min addition)
253253
# CW will consider end time as 2018-10-22 08:25 and will not be able to search the correct log.
254254
end_time = description.get(u'TrainingEndTime', datetime.datetime.utcnow()) + datetime.timedelta(minutes=1)
255255
return {

0 commit comments

Comments
 (0)