Skip to content

Commit

Permalink
Merge pull request #259 from ajnelson-nist/annotate_inoculate
Browse files Browse the repository at this point in the history
Add return signature respective to argument pass-through
  • Loading branch information
ashleysommer authored Oct 1, 2024
2 parents 97c645d + a3f5c54 commit 0325fbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyshacl/rdfutil/inoculate.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
OWLNamedIndividual = OWL.NamedIndividual


def inoculate(data_graph: rdflib.Graph, ontology: rdflib.Graph):
def inoculate(data_graph: rdflib.Graph, ontology: rdflib.Graph) -> rdflib.Graph:
"""
Copies all RDFS and OWL axioms (classes, relationship definitions, and properties)
from the ontology graph into the data_graph.
Expand Down

0 comments on commit 0325fbf

Please sign in to comment.