Closed eggplants closed 2 years ago
Ran 1512 tests in 894.352s FAILED (failures=3, errors=211, skipped=549, expected failures=80)
I have to need to research this change's effect more.
https://rdflib.readthedocs.io/en/stable/_modules/rdflib/graph.html#Graph.load
class Graph(Node):
...
def load(self, source, publicID=None, format="xml"):
warn(
DeprecationWarning(
"graph.load() is deprecated, it will be removed in rdflib 6.0.0. "
"Please use graph.parse() instead."
)
)
return self.parse(source, publicID, format)
...
https://rdflib.readthedocs.io/en/stable/_modules/rdflib/graph.html#Graph.parse
class Graph(Node):
...
def parse(
self,
source=None,
publicID=None,
format: Optional[str] = None,
location=None,
file=None,
data: Optional[Union[str, bytes, bytearray]] = None,
**args,
):
...
I overlooked the fact that the default format is different in load
("xml"
) and parse
(None
).
Yes, default format used to be XML but now it's Turtle.
fix: #186 I'll convert this into
ready to merge
after #184 is merged.