MCPcopy
hub / github.com/scrapy/scrapy / update_vars

Method update_vars

scrapy/commands/shell.py:62–65  ·  view source on GitHub ↗

You can use this function to update the Scrapy objects that will be available in the shell

(self, vars: dict[str, Any])

Source from the content-addressed store, hash-verified

60 )
61
62 def update_vars(self, vars: dict[str, Any]) -> None: # noqa: A002
63 """You can use this function to update the Scrapy objects that will be
64 available in the shell
65 """
66
67 def run(self, args: list[str], opts: Namespace) -> None:
68 url = args[0] if args else None

Callers 1

populate_varsMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected