MCPcopy
hub / github.com/pex-tool/pex / update

Method update

pex/cli/commands/lock.py:386–403  ·  view source on GitHub ↗
(
        self,
        updates=(),  # type: Iterable[Requirement]
        replacements=(),  # type: Iterable[Requirement]
        deletes=(),  # type: Iterable[ProjectName]
        artifacts_can_change=False,  # type: bool
    )

Source from the content-addressed store, hash-verified

384 _update_requests = attr.ib() # type: Iterable[ResolveUpdateRequest]
385
386 def update(
387 self,
388 updates=(), # type: Iterable[Requirement]
389 replacements=(), # type: Iterable[Requirement]
390 deletes=(), # type: Iterable[ProjectName]
391 artifacts_can_change=False, # type: bool
392 ):
393 # type: (...) -> Union[LockUpdate, Result]
394 if not self._update_requests:
395 return self._no_updates()
396
397 return self._lock_updater.update(
398 update_requests=self._update_requests,
399 updates=updates,
400 replacements=replacements,
401 deletes=deletes,
402 artifacts_can_change=artifacts_can_change,
403 )
404
405 def sync(self, requirement_configuration):
406 # type: (RequirementConfiguration) -> Union[LockUpdate, Result]

Callers 15

createMethod · 0.45
scanMethod · 0.45
mainFunction · 0.45
_default_build_systemFunction · 0.45
createMethod · 0.45
create_manifestsFunction · 0.45
buildFunction · 0.45
desktop_installFunction · 0.45
launchMethod · 0.45
dump_jsonMethod · 0.45
_inspectMethod · 0.45

Calls 1

_no_updatesMethod · 0.95

Tested by

no test coverage detected