7d489cf4b3aad53ac7e5ec040af4f63aed8f0b50,src/python/pants/build_graph/injectables_mixin.py,InjectablesMixin,injectables_spec_mapping,#InjectablesMixin#,30
Before Change
:API: public
return {}
def injectables_specs_for_key(self, key):
Given a key, yield all relevant injectable spec addresses.
After Change
:API: public
warn_or_error(
removal_version="1.27.0.dev0",
deprecated_entity_description="injectables_spec_mapping()",
hint="Use `injectables_address_spec_mapping()` instead. The API is the same as "
"before. This change is to prepare for Pants eventually supporting file system specs, "
"e.g. `./pants cloc foo.py`. In preparation, we renamed `Spec` to `AddressSpec`."
)
return self.injectables_address_spec_mapping
def injectables_specs_for_key(self, key):
Given a key, yield all relevant injectable spec addresses.
In pattern: SUPERPATTERN
Frequency: 6
Non-data size: 2
Instances
Project Name: pantsbuild/pants
Commit Name: 7d489cf4b3aad53ac7e5ec040af4f63aed8f0b50
Time: 2020-01-11
Author: ericarellano@me.com
File Name: src/python/pants/build_graph/injectables_mixin.py
Class Name: InjectablesMixin
Method Name: injectables_spec_mapping
Project Name: pantsbuild/pants
Commit Name: 7d489cf4b3aad53ac7e5ec040af4f63aed8f0b50
Time: 2020-01-11
Author: ericarellano@me.com
File Name: src/python/pants/build_graph/target.py
Class Name: Target
Method Name: compute_dependency_specs
Project Name: pantsbuild/pants
Commit Name: 7d489cf4b3aad53ac7e5ec040af4f63aed8f0b50
Time: 2020-01-11
Author: ericarellano@me.com
File Name: src/python/pants/build_graph/injectables_mixin.py
Class Name: InjectablesMixin
Method Name: injectables_specs_for_key
Project Name: pantsbuild/pants
Commit Name: 7d489cf4b3aad53ac7e5ec040af4f63aed8f0b50
Time: 2020-01-11
Author: ericarellano@me.com
File Name: src/python/pants/build_graph/injectables_mixin.py
Class Name: InjectablesMixin
Method Name: injectables_spec_for_key
Project Name: pantsbuild/pants
Commit Name: 7d489cf4b3aad53ac7e5ec040af4f63aed8f0b50
Time: 2020-01-11
Author: ericarellano@me.com
File Name: src/python/pants/build_graph/target.py
Class Name: Target
Method Name: compute_injectable_specs
Project Name: pantsbuild/pants
Commit Name: decfbdd730cb3febbf3e2b0c8a947628f80a5f46
Time: 2020-08-23
Author: 14852634+Eric-Arellano@users.noreply.github.com
File Name: src/python/pants/testutil/pants_integration_test.py
Class Name: PantsIntegrationTest
Method Name: run_pants_with_workdir