I’m new to Temporal and have a question about passing variables from workflows to activities. What’s the most effective way to pass multiple variables from a workflow to an activity?
This is what I have done, I passed it as Tuple to activity.
add_result = await workflow.execute_activity_method(
AddNumbersActivity.add_numbers,
(1,2), # Example numbers to add
schedule_to_close_timeout=timedelta(seconds=50),
)```