Skip to content

Commit

Permalink
mark DuplicateDetector as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
yagebu committed Jan 6, 2025
1 parent 88059b9 commit 0d3f98b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ install_requires =
beangulp
scikit-learn>=1.0
numpy>=1.18.0
typing-extensions>=4.9

[options.packages.find]
exclude =
Expand Down
4 changes: 4 additions & 0 deletions smart_importer/detector.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,16 @@

from beancount.core import data
from beangulp import Importer, similar
from typing_extensions import deprecated

from smart_importer.hooks import ImporterHook

logger = logging.getLogger(__name__) # pylint: disable=invalid-name


@deprecated(
"Use or override the deduplicate method on beangulp.Importer directly."
)
class DuplicateDetector(ImporterHook):
"""Class for duplicate detector importer helpers.
Expand Down

0 comments on commit 0d3f98b

Please sign in to comment.