Skip to content

Commit

Permalink
ignore InsecureRequestWarning
Browse files Browse the repository at this point in the history
  • Loading branch information
muddymudskipper committed Jul 23, 2024
1 parent cd70121 commit 4f8c230
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
3 changes: 3 additions & 0 deletions cmem_plugin_pyshacl/plugin_pyshacl.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from os import environ
from tempfile import NamedTemporaryFile
from time import time
from warnings import simplefilter

import validators.url
from cmem.cmempy.dp.proxy.graph import get, post_streamed
Expand Down Expand Up @@ -43,8 +44,10 @@
URIRef,
)
from rdflib.term import Node
from urllib3.exceptions import InsecureRequestWarning

environ["SSL_VERIFY"] = "false"
simplefilter("ignore", category=InsecureRequestWarning)

SKOSXL = Namespace("http://www.w3.org/2008/05/skos-xl#")
DATA_GRAPH_TYPES = [
Expand Down
6 changes: 3 additions & 3 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4f8c230

Please sign in to comment.