09412b09a225f1a9e9044087e9df8a3901afbaf3,lib/streamlit/Chart.py,Chart,_append_missing_data_components,#Chart#,135
Before Change
for i in range(numRepeats):
if type(comp_value) is dict:
props = {
k: self._materializeValue(v, i)
for (k, v) in comp_value.items()
}
self.append_component(comp_name, props)
else:
props = self._materializeValue(comp_value, i)
After Change
for i in range(numRepeats):
if isinstance(comp_value, dict_types):
props = dict(
(k, self._materializeValue(v, i))
for (k, v) in comp_value.items()
)
else:
props = self._materializeValue(comp_value, i)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances Project Name: streamlit/streamlit
Commit Name: 09412b09a225f1a9e9044087e9df8a3901afbaf3
Time: 2018-06-18
Author: adrien.g.treuille@gmail.com
File Name: lib/streamlit/Chart.py
Class Name: Chart
Method Name: _append_missing_data_components
Project Name: NifTK/NiftyNet
Commit Name: a22d96b4dbed86dd36b60a85b221a2fb86f84373
Time: 2017-11-24
Author: wenqi.li@ucl.ac.uk
File Name: niftynet/engine/sampler_uniform.py
Class Name: UniformSampler
Method Name: layer_op
Project Name: OpenNMT/OpenNMT-py
Commit Name: 3fc1db7454bfe9e378dc7a8f321ac22dfe8b0ea7
Time: 2017-09-12
Author: bpeters@coli.uni-saarland.de
File Name: onmt/Loss.py
Class Name:
Method Name: shards