MCPcopy
hub / github.com/pallets/werkzeug / run

Method run

src/werkzeug/_reloader.py:252–258  ·  view source on GitHub ↗

Continually run the watch step, sleeping for the configured interval after each step.

(self)

Source from the content-addressed store, hash-verified

250 pass
251
252 def run(self) -> None:
253 """Continually run the watch step, sleeping for the configured
254 interval after each step.
255 """
256 while True:
257 self.run_step()
258 time.sleep(self.interval)
259
260 def run_step(self) -> None:
261 """Run one step for watching the filesystem. Called once to set

Callers 6

run_with_reloaderFunction · 0.45
test_basic_local_asyncioFunction · 0.45
test_local_stack_asyncioFunction · 0.45
test_proxy_awaitFunction · 0.45
test_proxy_aiterFunction · 0.45

Calls 1

run_stepMethod · 0.95

Tested by 5

test_basic_local_asyncioFunction · 0.36
test_local_stack_asyncioFunction · 0.36
test_proxy_awaitFunction · 0.36
test_proxy_aiterFunction · 0.36