hasadna / hasadna/knesset-data-python
dataservice should support unified field for id / desc fields from new knesset API
- Dominant language
- Python
- Stars
- 2
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
@OriHoch:
> the new knesset API have a lot of these fields where you have somethingID and related somethingDesc
worth to create a new KnessetDataServiceField class which will handle it automatically -
so instead of defining those two fields, you would define only 1 field:
("type", KnessetDataServiceIdDescriptionField("SubType", "type of the bill"))
behind the scenes this field can expose a python tuple of (id, description)
Contributor guide
Research direction
Start by locating the existing KnessetDataService field definitions and how paired somethingID and somethingDesc values are handled. Define the scope of KnessetDataServiceIdDescriptionField and verify that a single field can expose the API pair as an (id, description) tuple; done means the proposed SubType definition works without separate fields.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100