From 4c8096feb296ac804631e80450096ad41592b375 Mon Sep 17 00:00:00 2001 From: Jad El Kik <64258942+ls-jad-elkik@users.noreply.github.com> Date: Fri, 1 Dec 2023 02:26:47 +0400 Subject: [PATCH] Expose ThreadedMotoServer publicly (#7076) --- moto/server.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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,