MCPcopy Create free account
hub / github.com/StackStorm/st2 / pex_request

Method pex_request

pants-plugins/api_spec/subsystem.py:40–46  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

38 )
39
40 def pex_request(self) -> PexFromTargetsRequest:
41 return PexFromTargetsRequest(
42 [self.address()],
43 output_filename=f"{self.cmd}.pex",
44 internal_only=True,
45 main=EntryPoint.parse(f"{self.module}.{self.cmd}:main"),
46 )
47
48 def config_request(self) -> ConfigFilesRequest:
49 return ConfigFilesRequest(

Callers 2

validate_api_specFunction · 0.45

Calls 2

addressMethod · 0.95
parseMethod · 0.80

Tested by

no test coverage detected