Skip to content

Commit

Permalink
remove deprecated run_with_reloader internal function
Browse files Browse the repository at this point in the history
  • Loading branch information
davidism committed Nov 6, 2021
1 parent 1e504e2 commit a0e15e6
Showing 1 changed file with 0 additions and 21 deletions.
21 changes: 0 additions & 21 deletions src/werkzeug/serving.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
import socketserver
import sys
import typing as t
import warnings
from datetime import datetime as dt
from datetime import timedelta
from datetime import timezone
Expand Down Expand Up @@ -985,23 +984,3 @@ def inner() -> None:
)
else:
inner()


def run_with_reloader(*args: t.Any, **kwargs: t.Any) -> None:
"""Run a process with the reloader. This is not a public API, do
not use this function.
.. deprecated:: 2.0
Will be removed in Werkzeug 2.1.
"""
from ._reloader import run_with_reloader as _rwr

warnings.warn(
(
"'run_with_reloader' is a private API, it will no longer be"
" accessible in Werkzeug 2.1. Use 'run_simple' instead."
),
DeprecationWarning,
stacklevel=2,
)
_rwr(*args, **kwargs)

0 comments on commit a0e15e6

Please sign in to comment.