Unverified Commit fc31a510 authored by mohammedabdulwahhab's avatar mohammedabdulwahhab Committed by GitHub
Browse files

fix: ignore setuptools warning (#1239)

parent 761f67e0
......@@ -13,10 +13,17 @@
# See the License for the specific language governing permissions and
# limitations under the License.
import warnings
from typing import Any
# Suppress warning from setuptools caused by bentoml
# TODO: Remove this line after the bentoml import is removed from this file
warnings.filterwarnings("ignore", category=UserWarning, message=".*pkg_resources.*")
# flake8: noqa: E402
from bentoml import on_shutdown as async_on_shutdown
# flake8: noqa: E402
from dynamo.sdk.core.decorators.endpoint import api, endpoint
from dynamo.sdk.core.lib import DYNAMO_IMAGE, depends, liveness, readiness, service
from dynamo.sdk.lib.decorators import async_on_start
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment