You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description:
Let's assume we are fetching a circuit with circuit = client.get_entity(entity_id="<ID>", entity_type=models.Circuit). Currently, the resulting circuit.contributions (which is derived from Entity) returns always None but should contain the actual list of contributions that have been registered, which can be retrieved by contributions = client.search_entity(entity_type=models.Contribution, query={"entity__id": circuit.id}).all().
This may require a (small) change in entitycore/app/service/circuit.py.
Acceptance criterion:
For a fetched circuit, circuit.contributions contains the list of contributions.