diff --git a/cmem_plugin_reason/plugin_validate.py b/cmem_plugin_reason/plugin_validate.py index 9f02e7a..07408b6 100644 --- a/cmem_plugin_reason/plugin_validate.py +++ b/cmem_plugin_reason/plugin_validate.py @@ -5,6 +5,7 @@ from pathlib import Path from tempfile import TemporaryDirectory from time import time +from warnings import simplefilter import validators.url from cmem.cmempy.dp.proxy.graph import get @@ -19,6 +20,7 @@ from cmem_plugin_base.dataintegration.types import BoolParameterType, StringParameterType from cmem_plugin_base.dataintegration.utils import setup_cmempy_user_access from pathvalidate import is_valid_filepath +from urllib3.exceptions import InsecureRequestWarning from cmem_plugin_reason.doc import VALIDATE_DOC from cmem_plugin_reason.utils import ( @@ -39,6 +41,8 @@ validate_profiles, ) +simplefilter("ignore", category=InsecureRequestWarning) + @Plugin( label="Validate OWL consistency",