app/routers/demo.py: minor changes #2

Closed
Aklivtsov wants to merge 1 commits from dev into main
Owner

Added early exits ('cause optimization), removed variable for HTTPExeption ('cause yeah, DRY is cool, but we don't need to apply it to every line of code), fixed typings (I've added types, that function returns). Overall, your function stays the same.

Added early exits ('cause optimization), removed variable for HTTPExeption ('cause yeah, DRY is cool, but we don't need to apply it to every line of code), fixed typings (I've added types, that function returns). Overall, your function stays the same.
Aklivtsov added 1 commit 2025-12-01 13:36:05 +03:00
Aklivtsov requested review from roma 2025-12-01 13:36:36 +03:00
roma closed this pull request 2025-12-01 13:54:59 +03:00

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: StartDown/AuthMicroservice#2