cf2e5c02c448c6f25136a4cd1b89e7f0ba1a3d37,lib/streamlit/config.py,,get_s3_option,#Any#,159
Before Change
import sys
sys.exit(-1)
if option == "profile":
return get_option("storage.s3")["profile"]
def saving_is_configured():
Returns true if S3 (and eventually GCS?) saving is configured properly
for this session.
return (get_option("s3.bucketname") is not None)
After Change
return get_option(new_option)
elif old_option is None:
return None
elif get_option(old_option) is None:
return None
else:
LOGGER.warning(f"DEPRECATION WARNING: Please update ~/.streamlit/config.yaml by renaming "{old_option}" to "{new_option}".")
return get_option(old_option)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances
Project Name: streamlit/streamlit
Commit Name: cf2e5c02c448c6f25136a4cd1b89e7f0ba1a3d37
Time: 2018-07-06
Author: adrien.g.treuille@gmail.com
File Name: lib/streamlit/config.py
Class Name:
Method Name: get_s3_option
Project Name: streamlit/streamlit
Commit Name: c786913462decebc4157ac3e8d2ec08303021adc
Time: 2018-07-02
Author: adrien.g.treuille@gmail.com
File Name: lib/streamlit/config.py
Class Name:
Method Name: get_s3_option
Project Name: pandas-dev/pandas
Commit Name: 8d923c916dc78374e16ef680a247e070b59cc57b
Time: 2021-01-03
Author: 47963215+lithomas1@users.noreply.github.com
File Name: pandas/io/excel/_base.py
Class Name: ExcelFile
Method Name: __init__