-
Notifications
You must be signed in to change notification settings - Fork 565
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
trig output fixes #480
trig output fixes #480
Conversation
Before: "<short:name> {...}" and "<None> {...}" After: "short:name {...}" and "<http://actual/uri/here> {...}"
p = triple[1] | ||
if isinstance(p, BNode): | ||
self._references[p]+=1 | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
did you remove this on purpose? seems it is called from preprocess
and the one in TurtleSerializer
looks quite different to me
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TurtleSerializer's one is a super call followed by a repeat of lines 48-57. The super call would run RecursiveSerializer's method, which is a repeat of lines 45-47. Most importantly, the test suite still passes :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah sorry, i must have looked at the RecursiveSerializer
one directly... so essentially this was unnecessary code duplication?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes I think so
thanks for the changes and comments, i think this looks good now... |
No description provided.