hasadna / hasadna/knesset-data-python

dataservice should support related table field

Open
#14 1 comment 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.