rdflib.term._GenericPythonToXSDRules
and similar should only take functions that return strings, not binary.
#2487
aucampia
started this conversation in
TO-DO list
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently it takes functions returning string or bytes:
rdflib/rdflib/term.py
Lines 1955 to 1957 in 394215f
This is an example of a function returning bytes:
rdflib/rdflib/term.py
Lines 1657 to 1659 in 394215f
I think this adds uncessary complexity and it would be best to have the functions always return either string or bytes.
Beta Was this translation helpful? Give feedback.
All reactions