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
Items in fields of this type doesn't, in constrast to Reference, include links to records. This means aiosnow must be made aware of the location of these objects.
While this can be done in a variety of ways, the cleanest and most generic is probably via the schema constructor:
The endpoint argument can then be picked up when interacting with the model and handled appropriately, e.g. turned into a table name when working with the TableModel.
My use case in getting these values at the moment is filtering.
At the moment, the only solution is to use a string field to get a coma separated string of sys_ids or Display names (with e.g. cmdb_model_category = aiosnow.fields.String(pluck=Pluck.DISPLAY_VALUE)) and use a contains/not contains filter, which is not ideal.
Items in fields of this type doesn't, in constrast to Reference, include links to records. This means aiosnow must be made aware of the location of these objects.
While this can be done in a variety of ways, the cleanest and most generic is probably via the schema constructor:
The
endpoint
argument can then be picked up when interacting with the model and handled appropriately, e.g. turned into a table name when working with theTableModel
.See #96 for more details.
The text was updated successfully, but these errors were encountered: