0c34574cd5a9f3362930b28376c1f6481d2ec073,src/python/pants/backend/python/dependency_inference/rules.py,,infer_python_dependencies,#,86
Before Change
digest_contents = await Get(DigestContents, Digest, stripped_sources.snapshot.digest)
imports_per_file = tuple(
find_python_imports(file_content.content.decode(), module_name=module.module)
for file_content, module in zip(digest_contents, modules)
)
owner_per_import = await MultiGet(
Get(PythonModuleOwner, PythonModule(imported_module))
for file_imports in imports_per_file
After Change
digest_contents = await Get(DigestContents, Digest, stripped_sources.snapshot.digest)
owner_requests: List[Get[PythonModuleOwner, PythonModule]] = []
for file_content, module in zip(digest_contents, modules):
file_imports_obj = find_python_imports(
file_content.content.decode(), module_name=module.module
)
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 2
Instances
Project Name: pantsbuild/pants
Commit Name: 0c34574cd5a9f3362930b28376c1f6481d2ec073
Time: 2020-08-13
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/dependency_inference/rules.py
Class Name:
Method Name: infer_python_dependencies
Project Name: nilearn/nilearn
Commit Name: e2bf248a400175ac1a153cdba62147e9162a710f
Time: 2019-04-17
Author: gkiar07@gmail.com
File Name: nilearn/image/resampling.py
Class Name:
Method Name: resample_img
Project Name: scikit-optimize/scikit-optimize
Commit Name: 02ae1275954d243531f1e1fad5d826a78bb77a2e
Time: 2020-02-11
Author: holgernahrstaedt@gmx.de
File Name: skopt/utils.py
Class Name:
Method Name: point_asdict
Project Name: ContextLab/hypertools
Commit Name: 8a9344ead3be54cf1d427b30888e0e84ffe4d20a
Time: 2018-01-22
Author: andrew.heusser@gmail.com
File Name: hypertools/tools/format_data.py
Class Name:
Method Name: format_data
Project Name: neurodsp-tools/neurodsp
Commit Name: 96e0a7454eebcc95e3c9dfdff6b3682bd23442af
Time: 2019-04-30
Author: tdonoghue@ucsd.edu
File Name: neurodsp/sim/combined.py
Class Name:
Method Name: sim_combined
Project Name: scikit-optimize/scikit-optimize
Commit Name: d1d7598ece5e8357ee515746b08437caaf8f77df
Time: 2017-01-10
Author: betatim@gmail.com
File Name: skopt/optimizer/base.py
Class Name:
Method Name: base_minimize