Skip to content

Commit f4e9f44

Browse files
authored
fixed warning messages (#62)
1 parent 943e684 commit f4e9f44

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

deepview_profile/__main__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
import warnings
2+
warnings.filterwarnings("ignore", message="'deepview_profile.__main__' found in sys.modules after import of package 'deepview_profile', but prior to execution of 'deepview_profile.__main__'; this may result in unpredictable behaviour")
3+
14
import argparse
25
import sys
36

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ perfetto = "*"
3737
orjson = "*"
3838
torch-tb-profiler = "*"
3939
dill = "*"
40+
pymongo = "*"
4041

4142
[tool.poetry.dev-dependencies]
4243

0 commit comments

Comments
 (0)