Introspection/Type Hinting with Row Objects

Some of these are partially solved in accelerated tables


You might find this post handy: Get_by_row_id()
But I guess take it with a pinch of salt while accelerated tables are still in beta and the API isn’t documented


That should just work with accelerated tables
worth noting that a Row in accelerated tables has nothing to do with LiveObjectProxy anymore

>>> from anvil.tables import app_tables, Row
>>> r = app_tables.table_1.search()[0]
>>> isinstance(r, Row)
# True

We’ve just implemented partial support type annotations in the auto completer suggestions :trophy:

I’ll add the Row type hinting implementation to our list.

2 Likes