MCPcopy
hub / github.com/scrapy/scrapy / _run_command

Function _run_command

scrapy/cmdline.py:218–222  ·  view source on GitHub ↗
(cmd: ScrapyCommand, args: list[str], opts: argparse.Namespace)

Source from the content-addressed store, hash-verified

216
217
218def _run_command(cmd: ScrapyCommand, args: list[str], opts: argparse.Namespace) -> None:
219 if opts.profile:
220 _run_command_profiled(cmd, args, opts)
221 else:
222 cmd.run(args, opts)
223
224
225def _run_command_profiled(

Callers

nothing calls this directly

Calls 2

_run_command_profiledFunction · 0.85
runMethod · 0.45

Tested by

no test coverage detected