diff --git a/moto/server.py b/moto/server.py index 051e81a33..e02f07312 100644 --- a/moto/server.py +++ b/moto/server.py @@ -7,8 +7,9 @@ from typing import Any, List, Optional from werkzeug.serving import run_simple -from moto.moto_server.threaded_moto_server import ( # noqa # pylint: disable=unused-import - ThreadedMotoServer, +# Expose ThreadedMotoServer as a public symbol according to PEP-561 +from moto.moto_server.threaded_moto_server import ( # pylint: disable=unused-import + ThreadedMotoServer as ThreadedMotoServer, ) from moto.moto_server.werkzeug_app import ( DomainDispatcherApplication,