Skip to content

Commit

Permalink
flake8 correction
Browse files Browse the repository at this point in the history
  • Loading branch information
wmelder committed Jun 14, 2024
1 parent d3e771c commit 4de1d01
Showing 1 changed file with 1 addition and 12 deletions.
13 changes: 1 addition & 12 deletions src/util/ld_util.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
from datetime import datetime
import json
import logging
import requests
import validators

from requests.exceptions import ConnectionError, HTTPError
from rdflib import Graph, URIRef, Literal, BNode, Namespace
from rdflib.namespace import RDF, RDFS, SDO, SKOS, DCTERMS, XSD
from rdflib.namespace import RDF, RDFS, SDO, SKOS, DCTERMS
from typing import Optional, List
from urllib.parse import urlparse, urlunparse

Expand Down Expand Up @@ -83,16 +82,6 @@ def add_structured_data_publisher(
URIRef("https://creativecommons.org/publicdomain/zero/1.0/"), # CC0 license
)
)
# In comment, because we need to figure out another way to state the date published
# rdf_graph.add(
# (
# URIRef(resource_uri),
# SDO.sdDatePublished,
# Literal(
# datetime.now().isoformat(timespec="seconds"), datatype=XSD.datetime
# ),
# )
# )


def remove_additional_type_skos_concept(resource_uri: str, rdf_graph: Graph):
Expand Down

0 comments on commit 4de1d01

Please sign in to comment.