Skip to content

Commit bbd34be

Browse files
committed
Fxi deprecation warnning message
1 parent ae64f82 commit bbd34be

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

pytest.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ minversion = 3.7
33
log_cli=true
44
python_files = test_*.py
55
;pytest_plugins = ['pytest_profiling']
6-
addopts = -n auto --dist loadscope
6+
addopts = -n 2 --dist loadscope

src/superannotate/lib/app/interface/sdk_interface.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -711,8 +711,8 @@ def get_project_workflow(self, project: Union[str, dict]):
711711
"""
712712
warnings.warn(
713713
DeprecationWarning(
714-
"The “set_project_workflow” function is deprecated."
715-
" Please use the “set_project_steps” function instead."
714+
"The “get_project_workflow” function is deprecated."
715+
" Please use the “get_project_steps” function instead."
716716
)
717717
)
718718
return self.get_project_steps(project)

0 commit comments

Comments
 (0)