On Thu, May 9, 2024 at 12:57 PM Luca Vizzarro wrote:
>
> Clean up types used with the configuration classes, and use Self from
> the newly added typing_extensions module.
>
> Methods that instantiate their own class should be @classmethod instead
> of @staticmethod.
>
> Bugzilla ID: 1433
>
> Signe
On 13/05/2024 17:12, Juraj Linkeš wrote:
diff --git a/dts/framework/testbed_model/traffic_generator/__init__.py
b/dts/framework/testbed_model/traffic_generator/__init__.py
@@ -39,8 +39,8 @@ def create_traffic_generator(
Returns:
A traffic generator capable of capturing received p
> diff --git a/dts/framework/testbed_model/traffic_generator/__init__.py
> b/dts/framework/testbed_model/traffic_generator/__init__.py
> @@ -39,8 +39,8 @@ def create_traffic_generator(
> Returns:
> A traffic generator capable of capturing received packets.
> """
> -match tra
Clean up types used with the configuration classes, and use Self from
the newly added typing_extensions module.
Methods that instantiate their own class should be @classmethod instead
of @staticmethod.
Bugzilla ID: 1433
Signed-off-by: Luca Vizzarro
Reviewed-by: Paul Szczepanek
---
dts/framewo
4 matches
Mail list logo