-
Notifications
You must be signed in to change notification settings - Fork 577
Open
Labels
breaking changeThis involves or proposes breaking RDFLib's public API.This involves or proposes breaking RDFLib's public API.good first issueGood for newcomersGood for newcomersid-as-cntxttracking related issuestracking related issues
Description
The parse function of ConjunctiveGraph modify in place the ConjunctiveGraph but return a Graph object. This is a minor issue but it can create issues down the road if the parse methode is called like so g = g.parse(source="test.ttl", format='turtle')
Demonstration:
from rdflib import Graph, ConjunctiveGraph
g = ConjunctiveGraph()
g.parse(source="test.ttl", format='turtle')
print(type(g)) # <class 'rdflib.graph.ConjunctiveGraph'>
g = ConjunctiveGraph()
g = g.parse(source="test.ttl", format='turtle')
print(type(g)) # <class 'rdflib.graph.Graph'>
aucampia
Metadata
Metadata
Assignees
Labels
breaking changeThis involves or proposes breaking RDFLib's public API.This involves or proposes breaking RDFLib's public API.good first issueGood for newcomersGood for newcomersid-as-cntxttracking related issuestracking related issues