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 <mvrachev@vmware.com>
This commit is contained in:
Martin Vrachev 2021-12-23 15:32:20 +02:00
parent 79df859078
commit 0c9764925d

View file

@ -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