Skip to content

Commit

Permalink
ignore InsecureRequestWarning
Browse files Browse the repository at this point in the history
  • Loading branch information
muddymudskipper committed Nov 4, 2024
1 parent 87aca6b commit 49ca03a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmem_plugin_reason/plugin_validate.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 (
Expand All @@ -39,6 +41,8 @@
validate_profiles,
)

simplefilter("ignore", category=InsecureRequestWarning)


@Plugin(
label="Validate OWL consistency",
Expand Down

0 comments on commit 49ca03a

Please sign in to comment.