Subject: Re: [patch net-next 03/13] tools: ynl: allow user to pass enum string instead of scalar value

From: Jakub Kicinski <[email-masked]>
Date: Mon, 19 Feb 2024 12:49:14 -0800

On Mon, 19 Feb 2024 18:25:19 +0100 Jiri Pirko wrote:
> +    def _get_scalar(self, attr_spec, value):

It'd be cleaner to make it more symmetric with _decode_enum(), and call
it _encode_enum().