From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 660DC44177; Thu, 6 Jun 2024 20:05:53 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4B36D40EAB; Thu, 6 Jun 2024 20:05:53 +0200 (CEST) Received: from mail-lf1-f42.google.com (mail-lf1-f42.google.com [209.85.167.42]) by mails.dpdk.org (Postfix) with ESMTP id 1A72B40E96 for ; Thu, 6 Jun 2024 20:05:52 +0200 (CEST) Received: by mail-lf1-f42.google.com with SMTP id 2adb3069b0e04-52b8b7b8698so1684506e87.1 for ; Thu, 06 Jun 2024 11:05:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pantheon.tech; s=google; t=1717697151; x=1718301951; darn=dpdk.org; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=xVolb2Dk1+wKxMPkgy+P0dnH0WyNuxm7/RYPufHSVxc=; b=PeI6BqXex8dvVM/7YioB6o0ztsAQ+9KTam1hQG2HUb1sF1rEo491KAoLwfeKMyK4A9 ELMYG1QQ9edU2y/OpqLS3GDMDyiufE3xWTYZehvC9FlAPkkaJVPFGZeEo/1FtVR1p9EC RzEX3JR8SdZ6aBwpLihkafBfY0UzHlwCfnpnFB8XgJu8C0thV1kpzZ9j46p62CXsy4uW LnEXN0LxTxTd13kgKomB51s7jvyHiQbzJqUDwqulwEt79sL5x8Tr6w8kwtMNLLQ9Nmig 3OIIDJhfYS0NP6TmPs821UVjw0joqDDmASDnx8SMsRwC+ciK0Of7rdbnGaAXY86zwled nQEQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1717697151; x=1718301951; h=content-transfer-encoding:in-reply-to:from:content-language :references:cc:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=xVolb2Dk1+wKxMPkgy+P0dnH0WyNuxm7/RYPufHSVxc=; b=IfPGXRxSGDjEXuBnnmpVSSWta+BFT/SUWt2NmMO+G2fEmWNQvNhT4WJXCESEJVwS7I Fc2cYHhuX9YIuHZfFsbUKvF972p61yz7JE5hxSTkCvyrD4xbVCD2pSKNG+9DECtNmgG4 qyrKx210HoZjTzy6Zo5ia4/AO6GaKe6VIaVAjXzfaegU3VRoiZCgJXyEXkZBNVwv/2NJ 7G2t7yTzhhu9xkLnISF4nNxFsw4/l5VRNztFMki0sRcuWxqU8azkXGmOrdaTG4W3VooT Wkffq2c84wD1ATD1mqQvIej1X+rDoujjx6P8M5jK8caOMtDmwrLoVa88Ne623vsIvQ2F gvOA== X-Forwarded-Encrypted: i=1; AJvYcCV5qcIWow/Kk6A6wStTKVZ1GljI/kUr55FRQcFJ2dgCC4eR9c9kfGFzKs47mUrZZmHgmwtx8o2nBoqz6j8= X-Gm-Message-State: AOJu0YzLhf31gMcN5HtkKPd7WeII5a0hLiwocyKbwz2p5RCELmjUFBAt 5krDO5FriR43t9EiSuXKCEkpWf7VNZRTk4Eh5bDdUNYFLl2ks+apFOQAOOBkizM= X-Google-Smtp-Source: AGHT+IGB+dD57lh5y7kzCI3LUJjQEERCKwqpo3fbXUhkVjJSPkyV0QdkiymrIHvQbYSNQLEuNF6vrg== X-Received: by 2002:ac2:47f7:0:b0:529:a646:932b with SMTP id 2adb3069b0e04-52bb9f73c9amr222160e87.20.1717697151298; Thu, 06 Jun 2024 11:05:51 -0700 (PDT) Received: from [192.168.1.113] ([84.245.121.236]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a6c80582841sm126038466b.42.2024.06.06.11.05.49 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 06 Jun 2024 11:05:49 -0700 (PDT) Message-ID: Date: Thu, 6 Jun 2024 20:05:48 +0200 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v3 8/8] dts: use Unpack for type checking and hinting To: Luca Vizzarro , dev@dpdk.org Cc: Jeremy Spewock , Paul Szczepanek References: <20240326190422.577028-1-luca.vizzarro@arm.com> <20240530152505.389167-1-luca.vizzarro@arm.com> <20240530152505.389167-9-luca.vizzarro@arm.com> Content-Language: en-US From: =?UTF-8?Q?Juraj_Linke=C5=A1?= In-Reply-To: <20240530152505.389167-9-luca.vizzarro@arm.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org On 30. 5. 2024 17:25, Luca Vizzarro wrote: > Interactive shells that inherit DPDKShell initialise their params > classes from a kwargs dict. Therefore, static type checking is > disabled. This change uses the functionality of Unpack added in > PEP 692 to re-enable it. The disadvantage is that this functionality has > been implemented only with TypedDict, forcing the creation of TypedDict > mirrors of the Params classes. > > Signed-off-by: Luca Vizzarro > Reviewed-by: Paul Szczepanek Reviewed-by: Juraj Linkeš