Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
fc31a510
Unverified
Commit
fc31a510
authored
May 28, 2025
by
mohammedabdulwahhab
Committed by
GitHub
May 28, 2025
Browse files
fix: ignore setuptools warning (#1239)
parent
761f67e0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
deploy/sdk/src/dynamo/sdk/__init__.py
deploy/sdk/src/dynamo/sdk/__init__.py
+7
-0
No files found.
deploy/sdk/src/dynamo/sdk/__init__.py
View file @
fc31a510
...
@@ -13,10 +13,17 @@
...
@@ -13,10 +13,17 @@
# See the License for the specific language governing permissions and
# See the License for the specific language governing permissions and
# limitations under the License.
# limitations under the License.
import
warnings
from
typing
import
Any
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
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.decorators.endpoint
import
api
,
endpoint
from
dynamo.sdk.core.lib
import
DYNAMO_IMAGE
,
depends
,
liveness
,
readiness
,
service
from
dynamo.sdk.core.lib
import
DYNAMO_IMAGE
,
depends
,
liveness
,
readiness
,
service
from
dynamo.sdk.lib.decorators
import
async_on_start
from
dynamo.sdk.lib.decorators
import
async_on_start
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment