RDFLib / rdflib

RDFLib is a Python library for working with RDF, a simple yet powerful language for representing information.
https://rdflib.readthedocs.org
BSD 3-Clause "New" or "Revised" License
2.18k stars 558 forks source link

Fix missing features of IdentifiedNode #2868

Closed ashleysommer closed 3 months ago

ashleysommer commented 3 months ago

Fix missing features of IdentifiedNode

When PR #1680 was merged to add the IdentifiedNode intermediate class, it was missing the n3() fn that is required by the parent Node abstract base class. And it missed the __slots__ directive that is required for a clean __slots__ chain on all classes in the hierarchy from Literal up to Node.

coveralls commented 3 months ago

Coverage Status

coverage: 90.643% (-0.003%) from 90.646% when pulling 6aeb8019457db53020b5f1c1f341f16c18c11f11 on fix_identified_node into 5876266c0585d60c0d0844b9877ff1b1e8eb6256 on main.