AlexsLemonade / AlexsLemonade/refinebio-py

Parsing API responses

Open
#77 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1
Forks
3
PR merge metrics
No merged PRs in 30d

Description

When searches to the sample are parsed we initialize a new Sample object with the response as kwargs. This is easily breakable and can go unnoticed. We need to be able to improve testing here and make the parsing/initialization more robust.

Contributor guide

No contributing guide indexed for this repository

Research direction

Inspect the search response parsing and the Sample object initialization described in the issue. Identify the tests covering parsed search results, then add coverage for response data that does not match Sample initialization and make the parsing behavior explicit. Done means parsing is covered by tests and unexpected response fields cannot silently break initialization.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
api
Issue type
Refactor
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.