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