def METHOD_NAME(
    evaluator: SnapshotEvaluator, command_payload: t.Union[str, PromoteCommandPayload]
) -> None:
    if isinstance(command_payload, str):
        command_payload = PromoteCommandPayload.parse_raw(command_payload)
    evaluator.METHOD_NAME(
        command_payload.snapshots,
        command_payload.environment_naming_info,
        is_dev=command_payload.is_dev,
    )