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' #1212

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

'Solution' #1212

wants to merge 2 commits into from

Conversation

levseenko
Copy link

No description provided.

Copy link

@YaroslavBordovoy YaroslavBordovoy left a comment

Choose a reason for hiding this comment

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

LGTM!

app/main.py Outdated
Comment on lines 42 to 44
def __init__(self, name: str) -> None:
super().__init__(name)
self.skills = list(set(self.skills + BackendDeveloper(name).skills))
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 (but you should provide adding skills there) and fullstack developer skills is frontend developer skills + backend developer skills

app/main.py Outdated
class AndroidDeveloper(SoftwareEngineer):
def __init__(self, name: str) -> None:
super().__init__(name)
self.skills = ["Java", "Android studio"]
Copy link
Contributor

Choose a reason for hiding this comment

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

that should extend list of skills from SoftwareEngineer class

Copy link
Contributor

Choose a reason for hiding this comment

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

and the same everywhere

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

class SoftwareEngineer:
def __init__(self, name: str) -> None:
self.name = name

Copy link
Contributor

Choose a reason for hiding this comment

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

remove blank line here

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