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

Improvements #96

Merged
merged 4 commits into from
Dec 21, 2023
Merged

Improvements #96

merged 4 commits into from
Dec 21, 2023

Conversation

sayanarijit
Copy link
Member

No description provided.

Comment on lines -194 to -198
def whoami(user: hug.directives.user):
return user.to_dict()


whoami.login_required = True
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Moved to rest/hug.py and rest/fastapi.py.

@sayanarijit sayanarijit marked this pull request as ready for review December 19, 2023 11:53
- Add apphelpers.rest.endpoint decorators
- FastAPI errors inherit fastapi.HTTPException
- Other fixes and cleanups
@sayanarijit sayanarijit force-pushed the improvements branch 6 times, most recently from 6dc3d99 to d9ee5ca Compare December 19, 2023 12:41
@sayanarijit sayanarijit merged commit 9969e2b into master Dec 21, 2023
1 check passed
@sayanarijit sayanarijit deleted the improvements branch December 21, 2023 11:22
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

Successfully merging this pull request may close these issues.

None yet

2 participants