6a5fc8006e8d0bd15fb6703de583538818ab5f5c,functions/imagemagick/main.py,,blur_offensive_images,#Any#Any#,30

Before Change



    blob = storage_client.bucket(bucket_name).get_blob(file_name)
    blob_uri = f"gs://{bucket_name}/{file_name}"
    blob_source = {"source": {"image_uri": blob_uri}}

    // Ignore already-blurred files
    if file_name.startswith("blurred-"):
        print(f"The image {file_name} is already blurred.")

After Change



    blob = storage_client.bucket(bucket_name).get_blob(file_name)
    blob_uri = f"gs://{bucket_name}/{file_name}"
    blob_source = vision.Image(source=vision.ImageSource(gcs_image_uri=blob_uri))

    // Ignore already-blurred files
    if file_name.startswith("blurred-"):
        print(f"The image {file_name} is already blurred.")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 6a5fc8006e8d0bd15fb6703de583538818ab5f5c
Time: 2020-10-01
Author: bot@renovateapp.com
File Name: functions/imagemagick/main.py
Class Name:
Method Name: blur_offensive_images


Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 6a5fc8006e8d0bd15fb6703de583538818ab5f5c
Time: 2020-10-01
Author: bot@renovateapp.com
File Name: functions/imagemagick/main.py
Class Name:
Method Name: blur_offensive_images


Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 6a5fc8006e8d0bd15fb6703de583538818ab5f5c
Time: 2020-10-01
Author: bot@renovateapp.com
File Name: run/image-processing/image.py
Class Name:
Method Name: blur_offensive_images


Project Name: GoogleCloudPlatform/python-docs-samples
Commit Name: 6a5fc8006e8d0bd15fb6703de583538818ab5f5c
Time: 2020-10-01
Author: bot@renovateapp.com
File Name: functions/ocr/app/main.py
Class Name:
Method Name: detect_text