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

Function is_running_from_reloader

src/werkzeug/serving.py:952–958  ·  view source on GitHub ↗

Check if the server is running as a subprocess within the Werkzeug reloader. .. versionadded:: 0.10

()

Source from the content-addressed store, hash-verified

950
951
952def is_running_from_reloader() -> bool:
953 """Check if the server is running as a subprocess within the
954 Werkzeug reloader.
955
956 .. versionadded:: 0.10
957 """
958 return os.environ.get("WERKZEUG_RUN_MAIN") == "true"
959
960
961def run_simple(

Callers 1

run_simpleFunction · 0.85

Calls 1

getMethod · 0.45

Tested by

no test coverage detected