-
Notifications
You must be signed in to change notification settings - Fork 66
level1 #2
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
level1 #2
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,7 @@ | ||
| from constants import ___ | ||
|
|
||
|
|
||
| def send_email(header: ___, text_content: ___, send_to: ___) -> ___: | ||
| def send_email(header: str, text_content: str, send_to: str) -> bool | None: | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Непонятно, почему в возвращаемый тип затесался бул, вроде ничего на это не намекает. |
||
| pass | ||
|
|
||
|
|
||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,10 +1,11 @@ | ||
| import decimal | ||
| import uuid | ||
| from _decimal import Decimal | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Этот импорт лишний. Выше есть импорт модуля |
||
|
|
||
| from constants import ___ | ||
|
|
||
|
|
||
| def get_user_balance(user_id: ___) -> ___: | ||
| def get_user_balance(user_id: uuid.UUID) -> Decimal: | ||
| pass | ||
|
|
||
|
|
||
|
|
||
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.
Глянь внимательнее на вызовы функции, у мидл нейма не такая аннотация.