app/routers/demo.py: minor changes #2
Reference in New Issue
Block a user
Delete Branch "dev"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
Pull request closed