Bulk fetching of Record release states?
Is it possible to bulk fetch the release states of a list of Record objects using the Streamlined STK? Looking at the .release_state
property of the Record
class, it looks like the .release_state
property makes an individual call on first access.
For some of the other record properties, such as color
, or short_name
, that data is stored in a pseudo attribute, which I can bulk fetch easily.
If I have a list of 1000 records that I'd like to see the release state on, that's a lot of individual calls to MI and is likely to be very slow.
Tagged:
0
Answers
-
There's a method on the
Session
objectbulk_fetch_release_states
. I think this should do what you need.0