Expose ThreadedMotoServer publicly (#7076)

This commit is contained in:
Jad El Kik 2023-12-01 02:26:47 +04:00 committed by GitHub
parent 55c589072f
commit 4c8096feb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,