Description
Currently, to filter instruments by manufacturers_id we're calling client.manufacturers.instruments(manufacturers_id=4).
Feature suggestion
Even the same thing is achieved, this suggestion to add manufacturers_id as an argument to Instruments resource list() method will make it easier to use the SDK as this is the pattern commonly used for other resources (hence users could naturally apply the same logic). Performance and redundancy could be potential pushback to implementing this feature, however.
This means that we could then filter instruments by manufacturers_id by calling client.instruments.list(manufacturers_id=4)
The same could be done for the sensors resource, where users could potentially filter sensors by locations_id like so: client.sensors.list(locations_id=42)
Description
Currently, to filter instruments by
manufacturers_idwe're callingclient.manufacturers.instruments(manufacturers_id=4).Feature suggestion
Even the same thing is achieved, this suggestion to add
manufacturers_idas an argument to Instruments resourcelist()method will make it easier to use the SDK as this is the pattern commonly used for other resources (hence users could naturally apply the same logic). Performance and redundancy could be potential pushback to implementing this feature, however.This means that we could then filter instruments by
manufacturers_idby callingclient.instruments.list(manufacturers_id=4)The same could be done for the sensors resource, where users could potentially filter sensors by
locations_idlike so:client.sensors.list(locations_id=42)