Closed andyjianzhou closed 3 months ago
@Pradyuman7
@Pradyuman7 Added utility method. I looked over other people's post and get request. They're doing it correctly, really it's just loading the data and saving the data that needs to be changed (as I defined it in utilities). They can just accept my changes, and then accept their changes they made for their tasks. Should work seamlessly, as Joel also saves it via dataclass model
By the way, we have 2 pytests failing because the change to POST /resume/education, which doesn't return missing fields now, causes the tests to fail :0. Just noticed that when posting a PR and wanted to say 👍
By the way, we have 2 pytests failing because the change to POST /resume/education, which doesn't return missing fields now, causes the tests to fail :0. Just noticed that when posting a PR and wanted to say 👍
Nice Ivan, thanks for pointing this out, I have created #37 based on your comment. We can track it there
Used dataclasses to deserialize and serialize data. This creates a layer between the application and the data.
Validated education class
Returns index of ID for education posts and returns all posts
running "?index=0" would retrieve the proper indexed education item
Fixed pytest to be more logical about ID
FOR THE FUTURE, maybe create mock test data
[x] Solves #18
[x] Solves #17