-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
base: master
Are you sure you want to change the base?
'Solution' #1212
Conversation
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.
LGTM!
app/main.py
Outdated
def __init__(self, name: str) -> None: | ||
super().__init__(name) | ||
self.skills = list(set(self.skills + BackendDeveloper(name).skills)) |
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.
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"] |
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.
that should extend list of skills from SoftwareEngineer class
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.
and the same everywhere
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.
ok
class SoftwareEngineer: | ||
def __init__(self, name: str) -> None: | ||
self.name = name | ||
|
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.
remove blank line here
No description provided.