-
Notifications
You must be signed in to change notification settings - Fork 14
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
feat: Add read
method for RefSkel
#1193
feat: Add read
method for RefSkel
#1193
Conversation
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.
Hello @ArneGudermann, Thanks for facing this issue.
Can you first fix the provided suggestions?
Furthermore, I think it might be good to add a read
-method generally to Skeleton
, so that it can be used as a replacement for fromDB()
- Why? Because issue #630 already proposes a Skeleton.read()
method.
It should have the signature def read(self, key=None)
, and in the case that no key is provided, skel["key"]
will be used (as it's the case here). If you want, I can make a follow-up pull request when this is merged.
Co-authored-by: Jan Max Meyer <jmm@phorward.de>
Co-authored-by: Sven Eberth <mail@sveneberth.de>
Co-authored-by: Jan Max Meyer <jmm@phorward.de>
read
method in RefSkel
read
method for RefSkel
Resolves #1101