traveler.core.stored.StoredTable.push_down#
- StoredTable.push_down(*attrs)[source]#
Compute a lazy attribute and push it down to the underlying table.
This will add the computed value to the stored table in-place, effectively caching it for future use. The attributes must be defined as lazy properties in the class.
- Parameters:
attrs (str) – The attributes to push down to the underlying table.
- Returns:
A new instance of the StoredTable with the pushed down attributes.
- Return type: