Skip to content

Commit a532cb5

Browse files
authored
Version bump to v2.0.0-beta.1 (#2472)
Bump version Signed-off-by: Samet Akcay <[email protected]>
1 parent 58453ef commit a532cb5

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

src/anomalib/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434

3535
from enum import Enum
3636

37-
__version__ = "2.0.0dev"
37+
__version__ = "2.0.0-beta.1"
3838

3939

4040
class LearningType(str, Enum):

src/anomalib/utils/visualization/base.py

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,19 @@ class VisualizationStep(str, Enum):
5454

5555

5656
class BaseVisualizer(ABC):
57-
"""Base visualization generator."""
57+
"""Base visualization generator.
58+
59+
Deprecated: This class will be removed in v2.0.0 release.
60+
"""
5861

5962
def __init__(self, visualize_on: VisualizationStep) -> None:
63+
import warnings
64+
65+
warnings.warn(
66+
"BaseVisualizer is deprecated and will be removed in v2.0.0 release.",
67+
DeprecationWarning,
68+
stacklevel=2,
69+
)
6070
self.visualize_on = visualize_on
6171

6272
@abstractmethod

0 commit comments

Comments
 (0)