hasadna / hasadna/knesset-data-python
dataservice should support related table field
Open
- Dominant language
- Python
- Stars
- 2
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
@OriHoch:
> maybe it's worth to create a new class for this type of fields
something like:
("committee", KnessetdataServiceRelatedField("CommitteeID", dataservice_class=Committee))
which will handle it automatically
but need to make sure by default it doesn't fetch the related object - only when user requests it
so I'm not sure what's the best way to implement it..
Contributor guide
Assessment
This issue has not been assessed yet.