-
Notifications
You must be signed in to change notification settings - Fork 2
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
Return an AttrDict from get() instead of a bytes-encoded json string #86
Comments
I think this is a nice idea. Even better would be to return a DLite instance if possible, when using DLite, but that's beyond this issue, I think. |
I really value backwards-compatibility and don't like changing the system if we can avoid it. What might make more sense would be to provide an optional keyword argument to the .get() method that then allow the user to make the return output an AttrDict. Indeed this could be a very nice option as we could even add support for other datastructures down the line |
In that case I will suggest to add a new Note that the intention of this PR is not to ensorange people to put a lot of stuff in the session, but have a standardised way to e.g. getting hold of the |
Since the purpose of OTELib is to provide an user-friendly interface to oteapi-services, the get() method of a pipeline should return an AttrDict instead of a bytes-encoded json string.
The text was updated successfully, but these errors were encountered: