params.types - Parameters Modelling Types

Module containing TypeDict-equivalents of Params classes for static typing and hinting.

TypedDicts can be used in conjunction with Unpack and kwargs for type hinting on function calls.

Example

def create_testpmd(**kwargs: Unpack[TestPmdParamsDict]):
    params = TestPmdParams(**kwargs)
class EalParamsDict

Bases: TypedDict

TypedDict equivalent of EalParams.

class TestPmdParamsDict

Bases: dict

TypedDict equivalent of TestPmdParams.