From 0c9764925d3e5287fecb95d9ccdcb5cbacde1297 Mon Sep 17 00:00:00 2001 From: Martin Vrachev Date: Thu, 23 Dec 2021 15:32:20 +0200 Subject: [PATCH] Make make TargetFile.custom() visible in the docs By adding a docstring to the property RTD noticed custom and documented it. Signed-off-by: Martin Vrachev --- tuf/api/metadata.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tuf/api/metadata.py b/tuf/api/metadata.py index 03fc699e..c8b3d403 100644 --- a/tuf/api/metadata.py +++ b/tuf/api/metadata.py @@ -1287,6 +1287,8 @@ def __init__( @property def custom(self) -> Any: + """Can be used to provide implementation specific data related to the + target. python-tuf does not use or validate this data.""" return self.unrecognized_fields.get("custom") @classmethod