Skip to content
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

Include datatype by default in return value of Collection.get_relations() #762

Open
jesper-friis opened this issue Jan 4, 2024 · 0 comments

Comments

@jesper-friis
Copy link
Collaborator

jesper-friis commented Jan 4, 2024

Currently has the rettype of Collection.get_relations() default value of the rettype="t", meaning that it only returns a (s,p,o) tuple. That makes it easy to miss the datatype for literals. Changing the default to rettype="T" will include the datatype and probably be safer.

The only issue is that it will create a backward incompatibility, so we should at least update the minor version number when doing it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant