-
Notifications
You must be signed in to change notification settings - Fork 13
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
fix: Add a decorator to put API user in request #1278 #1279
base: master
Are you sure you want to change the base?
Conversation
A remark: as it is now implemented there are no errors that could be passed to the client like what happens in Global-signbank/signbank/api_interface.py Line 100 in fb97037
I think I can implement it so that errors could be passed. I will work on that next week. |
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.
Fancy walrus operator
Nice that you noticed. Unfortunately (?) I removed it in my latest changes. I think this is ready to merge now, if approved of course. |
Hmm, I keep finding things to improve in the API. Perhaps keep this PR open until I have finished checking all API endpoints. |
Looks good to me! Much cleaner. |
@Woseseltops @susanodd @Jetske I have gone over all endpoint as documented in https://github.com/Signbank/Global-signbank/wiki/Signbank-API and added the Note: The following function seems to need some work. For instance, the Global-signbank/signbank/api_interface.py Lines 468 to 505 in fb97037
|
I tried to create a solution that is elegant and reusable.