rq_getlist

pyreaqtive.rq_getlist.rq_getlist(obj, attribute_name)

Reactive Get List.

Replaces a list of an object by an RQList and returns it

Warning

This method replaces the list with an RQList, all methods of which are compatible with built-in lists. However, the signature of the object is changed from list to RQList. Using this method on objects that rely on isinstance or issubclass on the list, will break.

Parameters
  • obj (object) – object to the list

  • attribute_name (str) – attribute of the object that is the list

Returns

reactive list object

Return type

RQList