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

solution #1215

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

solution #1215

wants to merge 2 commits into from

Conversation

pohgen
Copy link

@pohgen pohgen commented Oct 7, 2024

No description provided.

Comment on lines +12 to +13
super().__init__(name)
self.skills.extend(["JavaScript", "HTML", "CSS"])
Copy link

Choose a reason for hiding this comment

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

can You use learn_skill() here?

Copy link
Contributor

Choose a reason for hiding this comment

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

actually extend is good solution

Comment on lines +46 to +47
super().create_powerful_api()
super().create_awesome_web_page()
Copy link

Choose a reason for hiding this comment

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

“self” would be better to use instead of super()

Comment on lines +12 to +13
super().__init__(name)
self.skills.extend(["JavaScript", "HTML", "CSS"])
Copy link
Contributor

Choose a reason for hiding this comment

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

actually extend is good solution

app/main.py Outdated
Comment on lines 41 to 42
def __init__(self, name: str) -> None:
super().__init__(name)
Copy link
Contributor

Choose a reason for hiding this comment

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

read checklist, you don't need to overwrite that method if it's already inplemented in parent classes

@pohgen pohgen requested a review from Nattalli October 8, 2024 10:15
Copy link
Contributor

@Arsen-hrynevych Arsen-hrynevych left a comment

Choose a reason for hiding this comment

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

ok

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.

4 participants