Add missing type annotation

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
Gilles Peskine 2021-04-29 20:19:57 +02:00
parent a296e48b2b
commit 2a71b72bd5

View file

@ -26,7 +26,7 @@ from mbedtls_dev.asymmetric_key_data import ASYMMETRIC_KEY_DATA
class KeyType: class KeyType:
"""Knowledge about a PSA key type.""" """Knowledge about a PSA key type."""
def __init__(self, name: str, params: Optional[Iterable[str]] = None): def __init__(self, name: str, params: Optional[Iterable[str]] = None) -> None:
"""Analyze a key type. """Analyze a key type.
The key type must be specified in PSA syntax. In its simplest form, The key type must be specified in PSA syntax. In its simplest form,