3cd8628063a3ceab192acbc72da0abf38ea6d9b5,src/sagemaker/local/local_session.py,LocalSagemakerClient,describe_training_job,#LocalSagemakerClient#Any#,77
Before Change
response = {"ResourceConfig": {"InstanceCount": self.train_container.instance_count},
"TrainingJobStatus": "Completed",
"TrainingStartTime": datetime.datetime.now(),
"TrainingEndTime": datetime.datetime.now(),
"ModelArtifacts": {"S3ModelArtifacts": self.s3_model_artifacts}
}
After Change
if TrainingJobName not in LocalSagemakerClient._training_jobs:
error_response = {"Error": {"Code": "ValidationException", "Message": "Could not find local training job"}}
raise ClientError(error_response, "describe_training_job")
else:
return LocalSagemakerClient._training_jobs[TrainingJobName].describe()
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: aws/sagemaker-python-sdk
Commit Name: 3cd8628063a3ceab192acbc72da0abf38ea6d9b5
Time: 2018-09-26
Author: nacho950@gmail.com
File Name: src/sagemaker/local/local_session.py
Class Name: LocalSagemakerClient
Method Name: describe_training_job
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: 67a761cd51570e96238b985efbcb4597f24946fd
Time: 2017-06-30
Author: yutiansut@qq.com
File Name: QUANTAXIS/QATask/QA_Queue_standard.py
Class Name:
Method Name:
Project Name: QUANTAXIS/QUANTAXIS
Commit Name: c8a0366e929578b4d87024dc7f57b30dd873a87d
Time: 2017-07-03
Author: yutiansut@qq.com
File Name: test/test_job_queue.py
Class Name:
Method Name: