6ffda41d1538a5f8e6eab953346a95505c84c40c,src/python/twitter/pants/python/resolver.py,MultiResolver,__init__,#MultiResolver#Any#Any#Any#,43
Before Change
self._crawler = self.crawler(config, conn_timeout=conn_timeout)
self._fetchers = self.fetchers(config, target)
self._platforms = get_platforms(platforms)
super(MultiResolver, self).__init__(cache=self._install_cache)
def make_installer(self, reqs, interpreter, platform):
assert len(reqs) == 1 and isinstance(reqs[0], PythonRequirement), "Got requirement list: %s" % (
repr(reqs))
After Change
class SilentResolver(Resolver):
@classmethod
def _log(cls, msg):
if "PANTS_VERBOSE" in os.environ:
print(" Resolver: %s" % msg)
class PythonResolver(object):
_VALID_DEPENDENCIES = {
PythonLibrary: "libraries",
PythonRequirement: "reqs",
PythonBinary: "binaries",
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 6
Instances
Project Name: pantsbuild/pants
Commit Name: 6ffda41d1538a5f8e6eab953346a95505c84c40c
Time: 2014-01-17
Author: travis@twitter.com
File Name: src/python/twitter/pants/python/resolver.py
Class Name: MultiResolver
Method Name: __init__
Project Name: dmlc/gluon-nlp
Commit Name: 297e14732849f2b8025de6e2bf80ac05cab82b44
Time: 2019-11-27
Author: lausen@amazon.com
File Name: src/gluonnlp/data/corpora/google_billion_word.py
Class Name: GBWStream
Method Name: __init__
Project Name: chainer/chainercv
Commit Name: 515aeca78379b6577974a78cd0df4eed78f5bfae
Time: 2017-07-06
Author: yuyuniitani@gmail.com
File Name: setup.py
Class Name:
Method Name: