Is there any good practice for parsing callback_context
? I recently started working more with pattern-matching callbacks and extracting certain values from the callback_context
became essential. Until today, I have been doing things such as
idx = callback_context.states['packaging_concepts-div-waste_items.children'][-2]['props']['id']['index']
There must be a better way! Right?!