Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into gide
Browse files Browse the repository at this point in the history
  • Loading branch information
joshmoore committed Dec 4, 2024
2 parents dcfe44e + 9473b99 commit ccab3a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/omero_rdf/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,8 @@ def __init__(self):

def serialize_triple(self, triple):
s, p, o = triple
return f"""{s.n3()}\t{p.n3()}\t{o.n3()} ."""
escaped = o.n3().encode("unicode_escape").decode("utf-8")
print(f"""{s.n3()}\t{p.n3()}\t{escaped} .""")


class NonStreamingFormat(Format):
Expand Down

0 comments on commit ccab3a3

Please sign in to comment.