Workflow to Activity Variable Passing

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),
        )```

Hi,

Technically you can pass as many parameters as you want ( as long as it does not exceed the payload size limit (default 2MB) )

but I would consider using a parameter object Core application - Python SDK | Temporal Platform Documentation , so you don’t have to change the signature if you add a new field.