Description
As a developer,
I need code to be consistent and error-free.
Mocks
|
name = data["name"] |
|
username = data["username"] |
|
password = data["password"] |
|
email = data["email"] |
|
terms_and_conditions_checked = data["terms_and_conditions_checked"] |
For example this can be replaced by the get method i.e.
data.get("KEY", "DEFAULT_VALUE") to avoid KeyError
Acceptance Criteria
Update [Required]
Definition of Done
Estimation
2 hours
Description
As a developer,
I need code to be consistent and error-free.
Mocks
mentorship-backend/app/api/dao/user.py
Lines 42 to 46 in d52d777
For example this can be replaced by the get method i.e.
data.get("KEY", "DEFAULT_VALUE")to avoid KeyErrorAcceptance Criteria
Update [Required]
Definition of Done
Estimation
2 hours