182af8281295a110f8079c561be378b4044dab8e,lib/streamlit/config.py,,_check_conflicts,#,649

Before Change



def _check_conflicts():
    if (get_option("s3.sharingEnabled")
            and not get_option("s3.usePublicStorage")):
        assert get_option("s3.bucket"), (
            "For sharing, s3.bucket must be set")

After Change


            "global.sharingMode is set to "streamlit-public".")
        assert _is_unset("s3.bucket"), WARNING_STR
        assert _is_unset("s3.url"), WARNING_STR
        assert _is_unset("s3.accessKeyId"), WARNING_STR
        assert _is_unset("s3.secretAccessKey"), WARNING_STR
        assert _is_unset("s3.keyPrefix"), WARNING_STR
        assert _is_unset("s3.region"), WARNING_STR
        assert _is_unset("s3.profile"), WARNING_STR
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: streamlit/streamlit
Commit Name: 182af8281295a110f8079c561be378b4044dab8e
Time: 2018-12-10
Author: thiagot@gmail.com
File Name: lib/streamlit/config.py
Class Name:
Method Name: _check_conflicts


Project Name: streamlit/streamlit
Commit Name: fc730c0a93040edc02eb7abc3c3d853075b417f1
Time: 2018-12-07
Author: thiagot@gmail.com
File Name: lib/streamlit/config.py
Class Name:
Method Name: _check_conflicts


Project Name: streamlit/streamlit
Commit Name: fc730c0a93040edc02eb7abc3c3d853075b417f1
Time: 2018-12-07
Author: thiagot@gmail.com
File Name: lib/streamlit/proxy/storage/S3Storage.py
Class Name: S3Storage
Method Name: __init__