a6add8ae090edaf8ce525d49d9fe0cf38a0a91c7,src/python/pants/backend/python/dependency_inference/module_mapper.py,,map_third_party_modules_to_addresses,#,178
Before Change
// Remove modules with ambiguous owners.
for module in modules_with_multiple_owners:
modules_to_addresses.pop(module)
return ThirdPartyPythonModuleMapping(sorted(modules_to_addresses.items()))
// -----------------------------------------------------------------------------------------------
// module -> owners
After Change
// Remove modules with ambiguous owners.
for module in modules_with_multiple_owners:
modules_to_addresses.pop(module)
return ThirdPartyPythonModuleMapping(
mapping=FrozenDict(sorted(modules_to_addresses.items())),
ambiguous_modules=FrozenDict(
(k, tuple(sorted(v))) for k, v in sorted(modules_with_multiple_owners.items())
),
)
// -----------------------------------------------------------------------------------------------
// module -> owners
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 11
Instances
Project Name: pantsbuild/pants
Commit Name: a6add8ae090edaf8ce525d49d9fe0cf38a0a91c7
Time: 2021-03-23
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/dependency_inference/module_mapper.py
Class Name:
Method Name: map_third_party_modules_to_addresses
Project Name: pantsbuild/pants
Commit Name: a6add8ae090edaf8ce525d49d9fe0cf38a0a91c7
Time: 2021-03-23
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/codegen/protobuf/python/python_protobuf_module_mapper.py
Class Name:
Method Name: map_protobuf_to_python_modules
Project Name: pantsbuild/pants
Commit Name: a6add8ae090edaf8ce525d49d9fe0cf38a0a91c7
Time: 2021-03-23
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/backend/python/dependency_inference/module_mapper.py
Class Name:
Method Name: merge_first_party_module_mappings