fix: Do not throw a warning every time one import pymisp...

pull/1147/head
Raphaël Vinot 2024-02-06 16:40:49 +01:00
parent 1e4c9615fb
commit c9d6d04702
2 changed files with 5 additions and 2 deletions

View File

@ -63,7 +63,10 @@ except ImportError as e:
class ExpandedPyMISP(PyMISP):
warnings.warn('This class is deprecated, use PyMISP instead', FutureWarning)
def __init__(self, *args, **kwargs):
warnings.warn('This class is deprecated, use PyMISP instead', FutureWarning)
super().__init__(*args, **kwargs)
__all__ = ['PyMISP', 'register_user', 'AbstractMISP', 'MISPTag',

View File

@ -1,6 +1,6 @@
[tool.poetry]
name = "pymisp"
version = "2.4.184.1"
version = "2.4.184.2"
description = "Python API for MISP."
authors = ["Raphaël Vinot <raphael.vinot@circl.lu>"]
license = "BSD-2-Clause"