Open realvitya opened 1 month ago
It would be nice to have an internal field of each FMGObject which describes what fields to get by default. There could be:
_get_field_set = { "min": ["id", "name"], "extended": ["id", "name", "color", "shape", "whatever"], "all": None }
Then, we could make a get call like that: fmg.get(DeviceInterface(device="myfw"), field_set="min").data
It would be nice to have an internal field of each FMGObject which describes what fields to get by default. There could be:
Then, we could make a get call like that: fmg.get(DeviceInterface(device="myfw"), field_set="min").data