8e119c2d4b65f2fa9b1da935a0d998f1ad6109ca,src/python/pants/base/config.py,Config,_getinstance,#Config#Any#Any#Any#Any#,163
Before Change
option=option,
value=Config.format_raw_value(raw_value),
error=e))
if not isinstance(parsed_value, type):
raise Config.ConfigError("No valid {type_name} for {section}.{option}:\n{value}"
.format(type_name=type.__name__,
section=section,
option=option,
value=Config.format_raw_value(raw_value)))
return parsed_value
// Subclasses must implement.
def sources(self):
After Change
(isinstance(type_, type) and issubclass(type_, six.string_types))):
return raw_value
key = "{}.{}".format(section, option)
return parse_literal(name=key, val=raw_value, acceptable_types=type_,
raise_type=self.ConfigError)
// Subclasses must implement.
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: pantsbuild/pants
Commit Name: 8e119c2d4b65f2fa9b1da935a0d998f1ad6109ca
Time: 2015-09-09
Author: john.sirois@gmail.com
File Name: src/python/pants/base/config.py
Class Name: Config
Method Name: _getinstance
Project Name: azavea/raster-vision
Commit Name: 2b6f090645d9beab38c19230d940b34031e95b34
Time: 2018-12-07
Author: skassel@azavea.com
File Name: rastervision/command/chip_command_config.py
Class Name: ChipCommandConfigBuilder
Method Name: validate
Project Name: deepmipt/DeepPavlov
Commit Name: 00de689e6624b4b3c312c921226ad23f49a79229
Time: 2018-01-19
Author: ol.gure@gmail.com
File Name: deeppavlov/core/models/keras_model.py
Class Name: KerasModel
Method Name: load