3e29c286303aaafecbffee6e76f41e1d92815209,mlflow/store/s3_artifact_repo.py,S3ArtifactRepository,log_artifacts,#S3ArtifactRepository#Any#Any#,34

Before Change


        (bucket, dest_path) = data.parse_s3_uri(self.artifact_uri)
        if artifact_path:
            dest_path = build_path(dest_path, artifact_path)
        s3 = boto3.client("s3")
        local_dir = os.path.abspath(local_dir)
        for (root, _, filenames) in os.walk(local_dir):
            upload_path = dest_path
            if root != local_dir:

After Change


        (bucket, dest_path) = data.parse_s3_uri(self.artifact_uri)
        if artifact_path:
            dest_path = build_path(dest_path, artifact_path)
        s3_client = self._get_s3_client()
        local_dir = os.path.abspath(local_dir)
        for (root, _, filenames) in os.walk(local_dir):
            upload_path = dest_path
            if root != local_dir:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: mlflow/mlflow
Commit Name: 3e29c286303aaafecbffee6e76f41e1d92815209
Time: 2018-09-08
Author: hamroune.z@gmail.com
File Name: mlflow/store/s3_artifact_repo.py
Class Name: S3ArtifactRepository
Method Name: log_artifacts


Project Name: mlflow/mlflow
Commit Name: 3e29c286303aaafecbffee6e76f41e1d92815209
Time: 2018-09-08
Author: hamroune.z@gmail.com
File Name: mlflow/store/s3_artifact_repo.py
Class Name: S3ArtifactRepository
Method Name: _download_artifacts_into


Project Name: mlflow/mlflow
Commit Name: 3e29c286303aaafecbffee6e76f41e1d92815209
Time: 2018-09-08
Author: hamroune.z@gmail.com
File Name: mlflow/store/s3_artifact_repo.py
Class Name: S3ArtifactRepository
Method Name: log_artifact


Project Name: mlflow/mlflow
Commit Name: 3e29c286303aaafecbffee6e76f41e1d92815209
Time: 2018-09-08
Author: hamroune.z@gmail.com
File Name: mlflow/store/s3_artifact_repo.py
Class Name: S3ArtifactRepository
Method Name: list_artifacts